Post #3 in this topic includes from Clyde Schecter a regular expression utilizing at least one feature not found in the FAQ, the use of an initial caret within a bracketed group to indicate the complement of the set of characters given.
At the end of the topic, Clyde wrote in response to my question
With that in mind, I reread help regexm and found
which further work with Google confirms is far beyond the limited description given in the FAQ. Prior to that, given the material in the FAQs turned up by search regular expression I'd mistakenly assumed the POSIX.2 standard was an earlier form of the current POSIX regular expression standard. That was the only way I could read the FAQ as consistent with help regexm. I believe I played a bit with regexm after this discovery and confirmed that all my familiar friends that I'd been using since my days with awk in the 1970's were indeed available in Stata.
Code:
[^0-9]
When I need to refresh my memory I just Google regular expressions POSIX ...
Regular expression syntax is based on Henry Spencer's NFA algorithm, and this is nearly identical to the POSIX.2 standard.
Comment