bsb has asked for the wisdom of the Perl Monks concerning the following question:
I currently have the following, but would like to know if there's a better way.
This is only a toy problem so non-regex solutions need not apply :) (unless they're interesting)/^a(b(b(r(e(v(i(a(t(i(o(n)?)?)?)?)?)?)?)?)?)?)?$/
Brad
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Abbreviation regex?
by fishbot_v2 (Chaplain) on Jan 16, 2006 at 17:44 UTC | |
by Tanktalus (Canon) on Jan 16, 2006 at 17:55 UTC | |
by ikegami (Patriarch) on Jan 16, 2006 at 18:07 UTC | |
by fishbot_v2 (Chaplain) on Jan 16, 2006 at 18:02 UTC | |
|
Re: Abbreviation regex?
by ikegami (Patriarch) on Jan 16, 2006 at 18:02 UTC | |
|
Re: Abbreviation regex?
by ikegami (Patriarch) on Jan 16, 2006 at 17:31 UTC | |
by Tanktalus (Canon) on Jan 16, 2006 at 17:37 UTC | |
|
Re: Abbreviation regex?
by radiantmatrix (Parson) on Jan 17, 2006 at 19:43 UTC |