Sebastian Hungerecker
9/13/2008 7:52:00 AM
Adam Akhtar wrote:
> /x*?(.*?)x*/
>
> but if there are some unknown number of newlines seperating those
> letters like so
>
> "xxx cfg\nhyrfh\nyuij\nhcdf xxxx"
>
> that reg fails
>> "xxx cfg\nhyrfh\nyuij\nhcdf xxxx" =~ /x*?(.*?)x*/m
=> 0
Notice the m.
HTH,
Sebastian
--
NP: Dismember - Europa Burns
Jabber: sepp2k@jabber.org
ICQ: 205544826