Author Topic: regex library for Autolisp  (Read 5577 times)

0 Members and 1 Guest are viewing this topic.

Mark

  • Custom Title
  • Seagull
  • Posts: 28762
regex library for Autolisp
« on: February 24, 2004, 03:20:32 PM »
Has anyone ever come across a regex library for Autolisp? Call me crazy but I am thinking about writing one. Do you think it would be worth while? Would you like to help?

regex = regular expression


Links:
http://foldoc.doc.ic.ac.uk/foldoc/foldoc.cgi?regular+expression
http://www.anaesthetist.com/mnm/perl/regex.htm
http://www.digitalamit.com/article/regular_expression.phtml
TheSwamp.org  (serving the CAD community since 2003)

JohnK

  • Administrator
  • Seagull
  • Posts: 10625
regex library for Autolisp
« Reply #1 on: February 24, 2004, 05:01:34 PM »
*blink* ...huh?

I thought you already wrote something like that.
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org

Mark

  • Custom Title
  • Seagull
  • Posts: 28762
regex library for Autolisp
« Reply #2 on: February 24, 2004, 05:04:28 PM »
Nope, not yet.
TheSwamp.org  (serving the CAD community since 2003)

SMadsen

  • Guest
regex library for Autolisp
« Reply #3 on: February 24, 2004, 05:28:40 PM »
Isn't WCMATCH a regex?

Mark

  • Custom Title
  • Seagull
  • Posts: 28762
regex library for Autolisp
« Reply #4 on: February 24, 2004, 05:43:26 PM »
Quote from: SMadsen
Isn't WCMATCH a regex?

Yes but very limited. I want to create a library with more functionality. Not on the order of Perl of couse, but something like that.

Here is some of what Perl can do:
http://www.perldoc.com/perl5.8.0/pod/perlre.html
TheSwamp.org  (serving the CAD community since 2003)

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
regex library for Autolisp
« Reply #5 on: February 24, 2004, 07:26:36 PM »
Mark,
You probably saw this already.

acet-str-find
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16899
  • Superior Stupidity at its best
regex library for Autolisp
« Reply #6 on: February 24, 2004, 08:29:36 PM »
Ok, I suppose that we should want to help??????

I am wondering how I would implement such a thing in LISP......
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

Find me on https://parler.com @kblackie

Mark

  • Custom Title
  • Seagull
  • Posts: 28762
regex library for Autolisp
« Reply #7 on: February 24, 2004, 09:06:38 PM »
Quote from: CAB
Mark,
You probably saw this already.

No, I missed that one. thanks for the link CAB.
TheSwamp.org  (serving the CAD community since 2003)