Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Anomalous regular expression?


From   Steven Samuels <[email protected]>
To   [email protected]
Subject   st: Anomalous regular expression?
Date   Fri, 31 Oct 2008 11:56:04 -0400

Try this one, Frank.  I haven't sent it to the list.

**************************CODE BEGINS**************************
di regexr("100","$","A")    // $ matches end
di regexr("100","^","A")    // ^ matches ?
***************************CODE ENDS***************************


-Steve



*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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