Cool
I got this from approximately 71% perldoc perlre:
print 5: got $1\n if $x =~ /^(\D*)(?=\d)(?!123)/;
so I don't need || between multiple look ahead assertions...
Sometimes, it's more rewarding to solve you're problem on your own.
You just have to RTFM.. :-)
More power to this
On 01/20/2007 06:46 AM, Michael Alipio wrote:
Cool
I got this from approximately 71% perldoc perlre:
print 5: got $1\n if $x =~ /^(\D*)(?=\d)(?!123)/;
so I don't need || between multiple look ahead assertions...
Sometimes, it's more rewarding to solve you're problem on your own.
You
one more to remove spaces selectively:
$string =~ s/(\s+)(?:(?!date=|time=)(?=\w+=))/*/g;
cheers,
~i
On 1/20/07, Mumia W. [EMAIL PROTECTED] wrote:
On 01/20/2007 06:46 AM, Michael Alipio wrote:
Cool
I got this from approximately 71% perldoc perlre:
print 5: got $1\n if $x =~