Re: Self-recognizing programs and regular expressions

[email protected] (Ton Hospel)
Newsgroups gmane.comp.lang.perl.fun
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.