Re: Serious Perl Regular Expression deficiency?
- From: robic0
- Date: Mon, 26 Dec 2005 19:03:48 -0800
On 23 Dec 2005 20:04:33 -0800, "MikeGee" <michaelpgee@xxxxxxxxx>
wrote:
>robic0 wrote:
>> while (s/<!--(.*)-->//s) { print "$1\n"; }
>
>You post is longer than I can concentrate to read carefully, but in the
>above line, try:
>s/<!--(.*?)-->//s
>and see if there is a difference.
>
>I don't think you should make over-arching comments on the dificiencies
>of a system that works fine for everyone else. I bet most of the
>really knowledgable folks reading this newsgroup ignore your question
>just because of the bad attitude.
I think you should look past your navel in these issues.
You just look at the tip of the iceberg. Why should these issues
be of concern to anyone? Its a simple capability that regex
really badly falls down on. To have a match expression that
excludes a specific "string", then resets the counter. The
match won't happen on (.*) but not this "ASDF".
Do you understand that Mike?
.
- References:
- Serious Perl Regular Expression deficiency?
- From: robic0
- Re: Serious Perl Regular Expression deficiency?
- From: MikeGee
- Serious Perl Regular Expression deficiency?
- Prev by Date: Re: Serious Perl Regular Expression deficiency?
- Next by Date: Re: Serious Perl Regular Expression deficiency?
- Previous by thread: Re: Serious Perl Regular Expression deficiency?
- Next by thread: Re: Serious Perl Regular Expression deficiency?
- Index(es):