regexec pattern matching
Florian Weimer
fweimer@redhat.com
Tue Dec 4 14:54:00 GMT 2018
* Anand Akhare:
> Hello,
> regexec matching pattern against buffer throughout complete length
> and skips for those that doesn't match until match is found.
> Is it possible to get match for first character and if match fails, it
> returns fail rather than going forward to next characters.
> In summary, only start of buffer should b considered for match.
I think glibc's non-POSIX matching interfaces (re_search etc.) support
this via the range argument, but I have not tired this.
Thanks,
Florian
More information about the Libc-help
mailing list