Re: regex observation & question regarding re:escape()

new topic     » goto parent     » topic index » view thread      » older message » newer message
Spock said...

Hmmm, that expr doesn't look like it'd do much. Is this just an example to show the issue or is it, in fact, typical? I might be wrong but it looks to me as if you'd almost be better off doing a straight text match:

Spock

The expression doesn't do much, true. These two regex expressions were taken from the docs directly as they were examples of how to do it. I was particularly interested in the second entry format that uses the #/.../ format because it has the potential to ease the confusion factor. I am building a small single line parser. I thought regex would be easier to implement since it recognizes patterns whereas the built in search routines recognize characters.
In any event, thanks for your help.

Regards,
jd

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu