Well, uh, I didn't realise that it was basicly my fault.
I searched for something like this m/(\s\w+\s)/g in a string like "This is a
test". Of course only " is " is found, although the g flag is set. The RegEx
scans the string an finds " is ".
When Perl continues to scan for the RegEx, I think it restarts here, doesn't
it?

"This is a test".
         ^

al

-----Ursprüngliche Nachricht-----
Von: Rachel Coleman [mailto:[EMAIL PROTECTED]]
Gesendet: Sonntag, 29. Juli 2001 19:57
An: [EMAIL PROTECTED]
Betreff: Re: $1


> Making a mistake once can be exused,
> making it twice is stupidity and
> making the same mistake a third time only proves you have no brain ;-)
>
> Sorry, I figured out where the problem is...

What was the problem and how did you fix it?  Other people reading the list
(or searching the archive) might have similar problems and want to know how
it was solved?  I'm curious, for one :)

Best wishes,

Rachel



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to