Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

REGULAR EXPRESSIONS

 [1/4] from: robbo1mark::aol::com at: 30-Mar-2001 14:42


Hi everbody, this post is not of any urgency, rather Iam seeking enlightenment from list members about the REBOL approach to regular expressions. Regular expressions in Perl although powerful are mighty ugly and not at all intuitive, what is the REBOL way / approach. Sure REBOL has tremendous Parsing capabilities but what is the best approach in this instance? Jeff, Larry, Elan, anyone? can you enlighten me? cheers, Mark Dickson

 [2/4] from: sterling:rebol at: 30-Mar-2001 12:10


The really quick answer is "Use PARSE." What docs/examples/demos have you looked at regarding parse? What kind of an answer to this question are you looking for? Parsing strings is the REBOL awy of doing regular expressions but PARSE can also parse blocks which is your path to dialecting. Dialecting is, frankly, the way of the future. Why not use the terminology of your work context to do your work? Sterling

 [3/4] from: jamesh:volition-inc at: 30-Mar-2001 14:28


> Dialecting is, frankly, the way of the future.
Or the way of the past, if you consider that the REBOL example of dialecting look like examples from early 1980s Forth books :) James

 [4/4] from: dvydra2::yahoo at: 30-Mar-2001 12:25


Mark, I think the PARSE function is all you need. What specifically are you trying to do with regexp? Are you searching or validating input? Regards, David --- [Robbo1Mark--aol--com] wrote:
> Hi everbody, > this post is not of any urgency, rather Iam seeking
<<quoted lines omitted: 13>>
> [rebol-request--rebol--com] with "unsubscribe" in the > subject, without the quotes.
===== please reply to: [david--vydra--net]

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted