Well, because it isn't "just another class', it is a complex language that
needs an equally complex processor, which is what the AS3 RegExp class is -
a processor to the language.

Or, as wikipedia can say more clearly:

In computing, regular expressions provide a concise and flexible means for
identifying strings of text of interest, such as particular characters,
words, or patterns of characters. Regular expressions (abbreviated as regex
or regexp, with plural forms regexes, regexps, or regexen) are written in a
formal language that can be interpreted by a regular expression processor, a
program that either serves as a parser generator or examines text and
identifies parts that match the provided specification.

http://en.wikipedia.org/wiki/Regexp

So yeah, it's more powerful and complex than you are thinking, and a nice
book certainly comes handy ;)



On Fri, Jul 18, 2008 at 12:14 PM, Cor <[EMAIL PROTECTED]> wrote:

> Thank you!!
>
>
> I do own several books of O'Reilly and love everyone of them.
> But is there really that much to tell about that they write books about one
> class??
>
> Anyway, I will look into it.
>
> Thanks again!
> Cor
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Wagner
> Amaral
> Sent: vrijdag 18 juli 2008 17:01
> To: Flash Coders List
> Subject: Re: [Flashcoders] SOLVED: preparing a series of keywords for a
> search
>
> This particular regexp will match everything (that's the /g) that is
> composed of:
>
> \s* => 0 or more whitespaces (space, tab, etc) => followed by:
> [,-:\r\t] => only one of these characters: , - : \r (newline) \t (tab) =>
> followed by:
> \s* => 0 or more whitespaces
>
> May I suggest you a book?
> It's called "Mastering Regular Expressions", by Jeffrey Friedl. It's a very
> good book, well worth it.
> http://oreilly.com/catalog/9780596528126/
>
>
> On Fri, Jul 18, 2008 at 9:10 AM, Cor <[EMAIL PROTECTED]> wrote:
>
> > I have a problem understanding RegExp
> > Could you explain this:
> >
> > var re:RegExp = /\s*[,-:\r\t]\s*/gm;
> >
> > TIA
> > Cor
> >
> > _______________________________________________
> > Flashcoders mailing list
> > [email protected]
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to