I tested your snipet on Mandrake 9 without a problem. Most likely the problem is caused by something in your data. I would encourage you to post a sample of the actual data here.
One thing that might help you if you are parsing HTML would be to look into HTML::TokeParser on CPAN. It can recognize those CODE sections as well., Update: see tachyon's post below
Hope that helps
Chris
In reply to Re: REGEX different on Linux & Win32!
by cfreak
in thread REGEX different on Linux & Win32!
by gmpassos
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |