in reply to Re^4: conditional regex
in thread conditional regex
I can see some advantages to those in hand-written regex, but none at all for these generated regex.
I can't imagine an application for a multi-line response to a single prompt, never mind accepting an abbreviated multi-line response.
I like consistency in coding style, and rules-of-thumb have their place, but I think you have to apply context to decisions.
Keeping two hands on the steering wheel is good general advice, but applied dogmatically, you'd never adjust a mirror or sun-visor; turn the radio on or off; shut the sat-nav up; scratch your ear...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: conditional regex
by AnomalousMonk (Archbishop) on Aug 23, 2010 at 11:51 UTC |