Statalist The Stata Listserver

[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: regular expression documentation

From   James Muller <>
Subject   st: regular expression documentation
Date   Wed, 14 Feb 2007 17:57:54 +1100


Relating to my previous message, I am wondering whether Stata's
implementation of NFA regular expressions has been documented
publicly. It is said that they are "based on Henry Spenser's NFA
algorithm, and hence are almost identical to POSIX.2 regular

This obviously isn't a statement of equivalence, and has some
implications for writing programs that are supposed to work in the
general case. 

The best thing would be a publicly available formal syntax definition
of Stata's implementation, or a statement of equivalence with a
current implementation that does have a publicly available formal
syntax definition. At minimum, a comparison of the difference between
Stata RE's and POSIX.2 or Henry Spenser's algorithm could do.


*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index