Re: Self-recognizing programs and regular expressions
[email protected] ((Ton Hospel))
| Newsgroups | perl.fwp |
|---|---|
| Organization | lunix confusion services |
| Message-ID | <[email protected]> |
In article <[email protected]>, [email protected] writes: > On Mon, Mar 07, 2005 at 10:27:53PM +0000, Ton Hospel wrote: >> An infinite sequence of ^ matches only itself.... > > Actually, any sequence of ^ matches any string, since ^ simply matches the > beginning of the string. > > Ronald Indeed. For some reason I was thinking only the first ^ meant start of string and the rest is literal. Not so of course.