realbasic-nug
[Top] [All Lists]

Re: More on RegEx

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: More on RegEx
From: Kem Tekinay <ktekinay at mactechnologies dot com>
Date: Mon, 31 Mar 2008 22:38:34 -0400
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Thread-index: AciToXrXYnMRAQGnhkq2A8omao2wMg==
Thread-topic: More on RegEx
On 3/31/08 6:46 PM, Dave Shirk at dave at pamlicosounds dot com wrote:

> Another question about RegEx (acually two)

> (\d?[a-zA-Z]\d{1,2}[/])?[more expression here]

I think this one will work.

> [\d?[a-zA-Z]\d{1,2}[/]]?[more expression here]

I don't thinks this one will. Brackets indicate individual characters or a
range of characters.

In the first, what's the point of the brackets around the forward-slash?

> Also. is it possible to have condtionals? For example:

Yes. Check out this site for more info:

<http://www.regular-expressions.info/>

__________________________________________________________________________
Kem Tekinay                                                 (212) 201-1465
MacTechnologies Consulting                              Fax (914) 242-7294
http://www.mactechnologies.com                        Pager (917) 491-5546

  To join the MacTechnologies Consulting mailing list, send an e-mail to:
           mactechnologies_consulting-subscribe at yahoogroups dot com








_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>