Le Sat, Jan 05, 2002 at 08:51:19AM +0800, Leon a dit le suivant:
}
} > If so, I suggest something like:
} > $text =~ s/.*?//gs;
}
} * means zero or more instances;
} ? means zero or one instances;
} + means one or more instances;
}
} so what is the meaning of .*?
.. matches any type of input
- Original Message -
From: "Jeff 'japhy' Pinyan" <[EMAIL PROTECTED]>
Sent: Friday, January 04, 2002 9:53 PM
Subject: Re: regex
> If so, I suggest something like:
> $text =~ s/.*?//gs;
* means zero or more instances;
? means zero or one instances;
+ means one or more instances;
so wh