Not shy at all...

Jan Schenkel janschenkel at yahoo.com
Sun Jun 6 14:52:20 EDT 2004


--- Alex Tweedly <alex at tweedly.net> wrote:
> From an outsider's point of view, the lack of a
> regular expression package 
> in Revolution looks like it will make this (the real
> problem, not the 
> simple first step) a harder problem than it need
> have been. One of the 
> things that attracted me to Revolution was a
> statement along the lines 
> of  "text processing like you've never seen" - but I
> haven't found anything 
> to justify that claim yet. The built-in tokenizing
> is neat, but hardly 
> revolutionary, and the apparent lack of RE looks
> like a big missing 
> feature. (Please tell me it's in there and I just
> missed it in the docs ....)
> 

Hi Alex,

Regular Expressions are most definitely supported in
Revolution, using the following functions :
- replaceText
- matchText
- matchChunk

Combining these with the built-in tokens of chars,
items, words, lines,... results in a very flexible
environment to tackle human readable text.

> Although Revolution looks great for some things, I'd
> have said that a 
> text-processing problem with minimal user
> interaction doesn't look like the 
> sweet-spot for Revolution.
> 

If you want to program without a user interface, you
can also use the command line version, which gives you
everything Perl and Python and others have to offer.

Hope this clarified things,

Jan Schenkel.

=====
"As we grow older, we grow both wiser and more foolish at the same time."  (La Rochefoucauld)


	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 


More information about the use-livecode mailing list