Function report |
Source Code:kernel\trace\trace_events_filter.c |
Create Date:2022-07-28 12:24:42 |
Last Modify:2022-05-22 20:19:57 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:lter_parse_regex - parse a basic regex*@buff: the raw regex*@len: length of the regex*@search: will point to the beginning of the string to compare*@not: tell whether the match will have to be inverted* This passes in a buffer containing a regex and this
Proto:enum regex_type filter_parse_regex(char *buff, int len, char **search, int *not)
Type:enum regex_type
Parameter:
Type | Parameter | Name |
---|---|---|
char * | buff | |
int | len | |
char ** | search | |
int * | not |
823 | type = MATCH_FULL |
826 | If buff[0] == '!' Then |
830 | Else not = 0 |
835 | If isdigit(buff[0]) Then Return MATCH_INDEX |
840 | If Not i Then |
841 | type = MATCH_END_ONLY |
843 | If type == MATCH_END_ONLY Then type = MATCH_MIDDLE_ONLY |
845 | Else type = MATCH_FRONT_ONLY |
848 | Break |
849 | Else |
850 | Return MATCH_GLOB |
853 | Return MATCH_GLOB |
859 | Return type |
Name | Describe |
---|---|
filter_build_regex |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |