I have a regular expression that looks like:

$foo =~ s[class.*?=.*?'.*?'][]sgi;

The problem I run into is that if the following is presented to match:

<table class='foo'><tr class='baz'><td class='bar'>

The regular expression will match:

class='foo'><tr class='baz'><td class='bar'

And I'll get:

<table >

Is there any way I can tell the .*? to match "" as well as "."?

Thanks in advance,

Dan


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

Reply via email to