Regular expression
[1/3] from: pleone::towertech::it at: 12-Oct-2004 20:38
Hallo, I'm reading the ROG book and at the same time I'm learning Perl
and a bit of regular expression, the question is, does Rebol support the
regexp? And how? Is there an external plugin? I find nothing into the
index of the book (or I searched the wrong keyword).
I was interested in rebol since several years ago, but only now I've
some time to spend on it, at first glance rebol is different from
anything I ever see (I'm a DIY programmer, or code-source brutalizer
;-), it is quite interesting.
Thanks for your time, Pietro.
--
I will build myself a copper tower
With four ways out and no way in
But mine the glory, mine the power
(So I chose AmigaOS and GNU/Linux)
[2/3] from: tomc::darkwing::uoregon::edu at: 12-Oct-2004 13:30
hi Pietro
Rebol does not use regular expression natively.
The rebol approach is to use 'parse for which you
write a set of BNF-like rules.
see http://www.rebol.com/docs/core23/rebolcore-15.html
for an intro
On Tue, 12 Oct 2004, Pietro Leone wrote:
[3/3] from: lmecir::mbox::vol::cz at: 15-Oct-2004 19:20
Pietro Leone napsal(a):
>Hallo, I'm reading the ROG book and at the same time I'm learning Perl
>and a bit of regular expression, the question is, does Rebol support the
>regexp? And how? Is there an external plugin?
>
--- snip ---
There is no need to have regular expressions, because PARSE can do
everything Regular Expressions do plus a whole lot more. See
http://www.compkarori.com/vanilla/display/PARSE-Versus-Regexs for some
comparison info.
-Ladislav