realbasic-nug
[Top] [All Lists]

Re: RegEx question

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: RegEx question
From: Sven E Olsson <lists at seedit dot info>
Date: Fri, 31 Aug 2007 02:20:33 +0200
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <46D74652 dot 4070705 at stny dot rr dot com> <10AB228E-EC8D-4715-A717-38A70184D08D at seedit dot info> <46D755E6 dot 4020203 at stny dot rr dot com> <E2AA9F8A-E1B8-43BE-99AB-7EA9DA96CEFA at seedit dot info> <46D758BE dot 5060002 at stny dot rr dot com> <54CB1CA0-989D-4124-AE4C-3A5112193AAF at seedit dot info> <E65110CC-6B4F-4258-91FE-EA90783C3EF4 at seedit dot info>
On 2007-08-31, at 02:03, Sven E Olsson wrote:

>
> On 2007-08-31, at 02:01, Sven E Olsson wrote:
>
>>
>> On 2007-08-31, at 01:54, Tom Russell wrote:
>>
>>>>
>>> I meant I cant out this:
>>>
>>> rg.SearchPattern = href=["]+...+["]
>>>
>>> in the ide, syntax error. Im trying to wrap the quotes now to use  
>>> it.
>>>
>>> Thanks,
>>>
>>> Tom
>>
>>
>> dim SearchStr as string = "href=[" + chr(34) + "]" + chr(43) + "..."
>> + chr(43) +  "[" + chr(34) +]"
>>
>> rg.SearchPattern = SearchStr
>>
>> ( Not tested )
>> Sven E
>>
>>
>>
>
>
> BugFix:
>
>> dim SearchStr as string = "href=[" + chr(34) + "]" + chr(43) + "..."
>> + chr(43) +  "[" + chr(34) + "]"
>
> ( the last "]" )
>
>

Sorry, missed links like this:
<link rel="stylesheet" href="styles/standard.css" type="text/css" />

So we must include http://www

href=["]+http://www[.]+...+[";]



Sven E
-----------------------
REALbasic 2007R3 OS X 10.4.10 Intel and 10.3.9/10.4.10 PPC
SEEdit Maxi THE XHTML EDITOR FOR MACINTOSH
http://www.seedit.info



_______________________________________________
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>