Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AW: st: replace-all can crash do-file
From
Steve Samuels <[email protected]>
To
[email protected]
Subject
Re: AW: st: replace-all can crash do-file
Date
Sun, 16 May 2010 17:32:34 -0400
I have to qualify my remarks. I was referring to limitations of
-regexm- and related commands. I know nothing about the do file editor
in Windows.
On Sun, May 16, 2010 at 4:58 PM, Steve Samuels <[email protected]> wrote:
> Stata's regular expression parser has many limitations, but this is
> not one of them. The "^" has told the parser to look only for digits
> at the start of a line.
>
Hewan wrote:
> For example, if you type ^[0-9]+ in the "find what" box, it finds all
> expressions of a series of digits in the do file. But it only find
> those digit series that are at the very beginning of a line, not those
> that are somewhere in the middle of a line, or even those that start
> at a line after one space.
>
--
Steven Samuels
[email protected]
18 Cantine's Island
Saugerties NY 12477
USA
Voice: 845-246-0774
Fax: 206-202-4783
*
* 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/