in reply to regex problem
Assuming the pattern matched, $1 will be true if there was a description line. $2 will contain the description. As an optimization, you can get a faster pattern match by not putting your spaces into character classes. That just slows the engine down.
⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: regex problem
by QM (Parson) on Feb 27, 2006 at 23:18 UTC | |
by diotalevi (Canon) on Feb 27, 2006 at 23:20 UTC | |
by QM (Parson) on Feb 27, 2006 at 23:38 UTC | |
by diotalevi (Canon) on Feb 27, 2006 at 23:40 UTC |