Suggestion for a pattern item (gsub)
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Suggestion for a pattern item (gsub)
- From: "Dario Andrade" <dario@...>
- Date: 2002年4月16日 01:10:10 -0300
For the character class followed by +|*|-|?, I'd suggest adding another one,
that is Perl like, which is:
- Character class followed by {n,m}, which matches n or more until m
ocurrences of the character class. When m is ommited, it matches exactly n
characters.
That may be a lot useful in some cases, but I am certainly, as I know you,
that you will give me tons of possible ways to do the same thing...
Regards,
Dario Andrade
Computer Engineering Student
PUC-Rio