[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RE question
Duh, you're right about the [^*/]....
On Thu, 1 Apr 1999, Reza Naima wrote:
> On Thu, Apr 01, 1999 at 04:03:52PM -0800, Dan Haskovec sent me this...
> > $foo =~ m|/\*[^*/]*\*/|;
>
> are you sure you can put multiple things in the [^], from my understanding,
> it will match anything but any of those characaters.. so if you have a * or
> /, it will stop at that point -- not when it seems both.. not sure about
> this though.