I just checked this, and Malte is correct. I see now why the second example 
would only select lines ending in ?. I should probably remove "expert in regex" 
from my resume? ;-)

Bob


On Jan 23, 2013, at 3:30 AM, Thierry Douez wrote:

> Hi Malte,
> 
> for any position of ? in a line:  filter tText with "*[?]*"
> 
> for the last char of a line:  filter tText with "*[?]"
> 
> Regards,
> 
> Thierry
> 
> 
> 2013/1/23 Malte Brill <revolut...@derbrill.de>
> 
>> Hi,
>> 
>> I got a var tText that contains:
>> 
>> asdf
>> jkl?
>> bcdk
>> 
>> I want to do something like this
>> 
>> filter tText with "*\?*"
>> 
>> which should leave me with only jkl?.
>> 
>> 
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to