| To: | REALbasic NUG <realbasic-nug at lists dot realsoftware dot com> |
|---|---|
| Subject: | RegEx searching |
| From: | Peter Karlsson <lists at redpro dot se> |
| Date: | Fri, 29 Dec 2006 22:27:05 +0100 |
| Delivered-to: | listarchive at realsoftware dot com |
| Delivered-to: | realbasic-nug at lists dot realsoftware dot com |
Hi,Is there a way to get RegEx to give the character position of a result as instr do? I've played with SubExpressionStartB but it only gives byte positions and that's not enough to select a word in an editfield if there's umlauts. question 2: is rx.SearchPattern = "(\W)" + search + "(\W)" the best pattern to find a word? Best, Peter Karlsson _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html> |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: RB speed (was Last minute list...), Robert Woodhead |
|---|---|
| Next by Date: | Re: RegEx searching, Sven E Olsson |
| Previous by Thread: | Linux and HTMLViewer control, Tim Jones |
| Next by Thread: | Re: RegEx searching, Sven E Olsson |
| Indexes: | [Date] [Thread] [Top] [All Lists] |