Unix and Linux Discussions Tagged with regular expression |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
2 |
6,292 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
4,057 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
3,722 |
UNIX for Beginners Questions & Answers |
|
|
|
8 |
4,752 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
2,150 |
Shell Programming and Scripting |
|
|
|
7 |
2,036 |
Shell Programming and Scripting |
|
|
|
3 |
3,898 |
Shell Programming and Scripting |
|
|
|
3 |
1,457 |
Shell Programming and Scripting |
|
|
|
4 |
12,958 |
Shell Programming and Scripting |
|
|
|
3 |
101,045 |
Shell Programming and Scripting |
|
|
|
2 |
1,726 |
Shell Programming and Scripting |
|
|
|
8 |
1,807 |
Shell Programming and Scripting |
|
|
|
2 |
1,981 |
UNIX for Advanced & Expert Users |
|
|
|
5 |
2,495 |
Shell Programming and Scripting |
|
|
|
6 |
2,156 |
Shell Programming and Scripting |
|
|
|
3 |
2,776 |
Shell Programming and Scripting |
|
|
|
2 |
10,307 |
Shell Programming and Scripting |
|
|
|
6 |
32,854 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,040 |
Shell Programming and Scripting |
|
|
|
1 |
3,829 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
2,154 |
Shell Programming and Scripting |
|
|
|
12 |
3,847 |
Shell Programming and Scripting |
|
|
|
8 |
4,976 |
Shell Programming and Scripting |
|
|
|
1 |
3,073 |
Shell Programming and Scripting |
|
|
|
2 |
3,358 |
Shell Programming and Scripting |
|
|
|
8 |
14,298 |
UNIX for Dummies Questions & Answers |
|
|
|
7 |
5,388 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
4,672 |
Shell Programming and Scripting |
|
|
|
0 |
2,480 |
Shell Programming and Scripting |
|
|
|
5 |
2,289 |
Shell Programming and Scripting |
|
|
|
2 |
2,690 |
Shell Programming and Scripting |
|
|
|
4 |
3,902 |
Programming |
|
|
|
3 |
4,899 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
5,581 |
Shell Programming and Scripting |
|
|
|
2 |
3,136 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,375 |
Shell Programming and Scripting |
|
|
|
5 |
4,382 |
Shell Programming and Scripting |
|
|
|
0 |
5,261 |
Shell Programming and Scripting |
|
|
|
6 |
5,611 |
Shell Programming and Scripting |
|
|
|
3 |
2,956 |
Shell Programming and Scripting |
AUSEARCH_ADD_REGEX(3) Linux Audit API AUSEARCH_ADD_REGEX(3)
NAME
ausearch_add_regex - use regular expression search rule
SYNOPSIS
#include <auparse.h>
int ausearch_add_regex(auparse_state_t *au, const char *expr);
DESCRIPTION
ausearch_add_regex adds one search condition based on a regular expression to the current audit search expression. The search conditions
can then be used to scan logs, files, or buffers for something of interest. The regular expression follows the posix extended regular
expression conventions, and is matched against the full record (without interpreting field values).
If an existing search expression E is already defined, this function replaces it by (E && this_regexp).
RETURN VALUE
Returns -1 if an error occurs; otherwise, 0 for success.
SEE ALSO
ausearch_add_expression(3), ausearch_add_item(3), ausearch_clear(3), ausearch_next_event(3), regcomp(3).
AUTHOR
Steve Grubb
Red Hat Sept 2007 AUSEARCH_ADD_REGEX(3)