Create Search queries that match specified patterns with regular expressions (regex).
The Search app allows up to 5 regex per query. To use regex, enclose the pattern you
want to
query with forward slashes (/):
endpointHostName: /^(W|m)/
Important
|
Syntax examples
Query
|
Result
|
Explanation
|
/^(this is a regex)/ |
Error
|
|
endpointHostName: /^(W|m)/ |
Returns results
|
|
filePath: /etc/pwd/config/aaa |
Error
|
|
filePath: /\/etc\/pwd\/config\/aaa/ |
Returns results |
|