Good News Everybody!
The new search engine is LIVE!
Please report any problems to david (at) midrange.com.
|
Adam Glauser wrote:snip
Not to put words in Aaron's mouth, but I suspect that when he's using \s
and \S he's looking for whitespace and non-whitespace respectively. Do
the C regex APIs support Extended Regular Expression syntax,
specifically the shorthand character classes? [1]
Perhaps IBM's biggest crime in this situation is it's HORRIBLE
documentation. The docs say NOTHING about what is and is not supported
in their regcomp() API. The only thing I can find in the docs is this:
"The functions regcomp(), regerror(), regexec(), and regfree() use
regular expressions in a similar way to the UNIX® awk, ed, grep, and
egrep commands."
Gee, thanks. Not the same as those commands (which, in themselves vary
widely) but "similar to" without any further explanation. Leaving us to
determine which regular expressions are and are not supported by
trial-and-error.
But -- my guess is that they only support the original Basic and
Extended regexp syntax... not the POSIX or Perl or Java, etc, extensions.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.