Re: Prefixes of regular expressions
- From: Roedy Green <see_website@xxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 30 Jun 2008 07:04:23 GMT
On Mon, 30 Jun 2008 05:18:06 GMT, Roedy Green
<see_website@xxxxxxxxxxxxxxxxxxxx> wrote, quoted or indirectly quoted
someone who said :
the brute force approach is to have a different regex for each length
of string.
If you look at those regexes,, you may be able to create a single
regex that will work for more than one length. e.g.. that ended with
[0-9]* to reduce the total number of them you require.
--
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
.
- References:
- Prefixes of regular expressions
- From: S J Kissane
- Re: Prefixes of regular expressions
- From: Roedy Green
- Prefixes of regular expressions
- Prev by Date: Re: Applet Scrollbar and KeyListener
- Next by Date: Re: Applet Scrollbar and KeyListener
- Previous by thread: Re: Prefixes of regular expressions
- Next by thread: Re: Prefixes of regular expressions
- Index(es):
Relevant Pages
|