From: Nikolai Weibull Date: 2003-10-10T02:41:59+09:00 Subject: Re: Extension Language for a Text Editor * Ryan Pavlik [Oct, 09 2003 09:10]: > There seem to be simpler/more elegant solutions to these problems than > reimplementing pcre: You don't have to reimplement it, just change its syntax. > I'd say this is way simpler, more effective, and more extensible than > redefining all-new regexp syntax. Especially since the existing > syntax is hairy enough. ;-) You should take a look at the Sam editor. It works like this in a way. It has very, very simple regexes, but the way you get advanced is by combining different regexes and operators to get to the real match. nikolai -- ::: name: Nikolai Weibull :: aliases: pcp / lone-star / aka ::: ::: born: Chicago, IL USA :: loc atm: Gothenburg, Sweden ::: ::: page: www.pcppopper.org :: fun atm: gf,lps,ruby,lisp,war3 ::: main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}