realbasic-nug
[Top] [All Lists]

RegEx search pattern empty?

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: RegEx search pattern empty?
From: Peter J. Hartmann <hphartmann at justmail dot de>
Date: Fri, 4 Jul 2003 12:11:36 +0200
I've returned to this list after an interval of several months or even years, I simply didn't find the time do anything in Realbasic. Switching to OSX I have to rewrite an old app (done in 2.1.2) of mine, to make it run more quickly as a Carbon app. Thus, I am currently working on an RB 5.1 demo to check out the possibilities and I have a rather odd problem with RegEx. I have screened the archives of this list for anything relevant but couldn't find anything.

I am doing this:

myRegex.SearchPattern= DicInputField.text

or

myRegex.SearchPattern= "some string" /not terribly regexy, I know

or, to make sure that everything is UTF8, even

c=GetTextConverter(GetTextEncoding(2), getTextEncoding(2))
myRegex.SearchPattern=c.convert("some string")

When I run the program in the debugger and open the RegEx object the searchPattern property is empty. Accordingly, nothing is found. Any clues?


___ Peter Hartmann ________

mailto:hphartmann at justmail dot de


---
A searchable archive of this list is available at:
<http://support.realsoftware.com/listarchives/search.php>

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


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