Re: Regexp - alternate match and grouping
- From: "Paul Lalli" <mritty@xxxxxxxxx>
- Date: 28 Feb 2006 05:32:53 -0800
Witold Rugowski wrote:
Paul Lalli wrote:
Why? Why are you feeling the need to make this one massive regexp?
You're matching two completely different formats. It makes no sense
that one regexp should be able to handle both.
Because currently I need to handle only two formats, but it may be more formats in future. Creating new branches IMO makes it harder to maintain and develop further...
As opposed to Frankenstein-ing your one single regular expression even
further? You have an odd view of what kind of code is difficult to
maintain, IMHO.
Paul Lalli
.
- Follow-Ups:
- Re: Regexp - alternate match and grouping
- From: Witold Rugowski
- Re: Regexp - alternate match and grouping
- References:
- Regexp - alternate match and grouping
- From: Witold Rugowski
- Re: Regexp - alternate match and grouping
- From: Paul Lalli
- Re: Regexp - alternate match and grouping
- From: Witold Rugowski
- Regexp - alternate match and grouping
- Prev by Date: Re: Regexp - alternate match and grouping
- Next by Date: Re: Regexp - alternate match and grouping
- Previous by thread: Re: Regexp - alternate match and grouping
- Next by thread: Re: Regexp - alternate match and grouping
- Index(es):
Relevant Pages
|
|