Home
last modified time | relevance | path

Searched refs:regex (Results 1 – 13 of 13) sorted by relevance

/busybox-1.35.0/libbb/
Dxregcomp.c13 char* FAST_FUNC regcomp_or_errmsg(regex_t *preg, const char *regex, int cflags) in regcomp_or_errmsg() argument
15 int ret = regcomp(preg, regex, cflags); in regcomp_or_errmsg()
25 void FAST_FUNC xregcomp(regex_t *preg, const char *regex, int cflags) in xregcomp() argument
27 char *errmsg = regcomp_or_errmsg(preg, regex, cflags); in xregcomp()
29 bb_error_msg_and_die("bad regex '%s': %s", regex, errmsg); in xregcomp()
DKbuild.src185 # require regex.h to be in the include dir even if we don't need it thereby
186 # allowing us to build busybox even if uclibc regex support is disabled.
/busybox-1.35.0/include/
Dxregex.h18 char* regcomp_or_errmsg(regex_t *preg, const char *regex, int cflags) FAST_FUNC;
19 void xregcomp(regex_t *preg, const char *regex, int cflags) FAST_FUNC;
/busybox-1.35.0/shell/hush_test/hush-test2/
Dstrops2.tests1 # malformed regex
Dstrops3.tests1 # regex should accept '+' operator
/busybox-1.35.0/docs/
Dmdev.txt54 [-][envmatch]<device regex> <uid>:<gid> <permissions>
58 $envvar=<regex> <uid>:<gid> <permissions>
71 <device regex> <uid>:<gid> <permissions> [=path]
89 <device regex> <uid>:<gid> <permissions> [=path] [@|$|*<command>]
91 <device regex> <uid>:<gid> <permissions> [>path] [@|$|*<command>]
93 <device regex> <uid>:<gid> <permissions> [!] [@|$|*<command>]
Dposix_conformance.txt280 …llow, -depth, -xdev, -inum N, -type X, -print0, -mindepth N, -mmin MINS, -regex PATTERN, -prune, -…
/busybox-1.35.0/testsuite/
Dawk.tests438 testing 'awk FS regex which can match empty string' \
/busybox-1.35.0/editors/
Dsed.c336 static int get_address(const char *my_str, int *linenum, regex_t ** regex) in get_address() argument
357 G.previous_regex_ptr = *regex = xzalloc(sizeof(regex_t)); in get_address()
358 xregcomp(*regex, temp, G.regex_type); in get_address()
361 *regex = G.previous_regex_ptr; in get_address()
Dsed1line.txt26 # insert a blank line above every line which matches "regex"
27 sed '/regex/{x;p;x;}'
29 # insert a blank line below every line which matches "regex"
30 sed '/regex/G'
32 # insert a blank line above and below every line which matches "regex"
33 sed '/regex/{x;p;x;G;}'
Dawk.c2455 regex_t sreg, *regex; in awk_sub() local
2461 regex = as_regex(rn, &sreg); in awk_sub()
2464 while (regexec(regex, sp, 10, pmatch, regexec_flags) == 0) { in awk_sub()
2534 if (regex == &sreg) in awk_sub()
2535 regfree(regex); in awk_sub()
/busybox-1.35.0/findutils/
Dfind.c448 IF_FEATURE_FIND_REGEX( ACTS(regex, regex_t compiled_pattern;))
639 ACTF(regex) in ACTF() argument
1443 ap = ALLOC_ACTION(regex); in parse_params()
/busybox-1.35.0/
DMakefile1179 ( find -regex '.*\.[ch]$$' )