From: "Nestor, John" <[EMAIL PROTECTED]>
> Sent this MacPerl yesterday, no response yet. But from what little
> I've seen on this error via google, I think it's a reg exp problem,
> not platform specific. Any ideas? Any documentation I should check
> out? All help accepted gratefully.

Please try and trim the erroring code a little. It's too long, and 
since it has been qutoed and reformated it's next to impossible to do 
anything with it.

You should also consider using some other characters than / for your 
regexes. Something that would stand out more.

I think you'd agree that

$_ =~ 
s#(\}\{\\b\\fs24\\cgrid0\d+)\.(\d+\}\{\\fs24\\cgrid0\\{.*?\\})#$1_$2NO
T_FOUND#;

reads much better than

$_=~s/(\}\{\\b\\fs24\\cgrid0\d+)\.(\d+\}\{\\fs24\\cgrid0\\{.*?\\})/$1_
$2NOT_FOUND/;

Anyway ... it does seem to me that the problem really is in one of 
the regexps. Try them out in a separate script.

Jenda

Jenda
===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed 
to get drunk and croon as much as they like.
        -- Terry Pratchett in Sourcery


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

Reply via email to