Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #40190

Re: Verbose Regular Expressions

From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Newsgroups comp.lang.javascript
Subject Re: Verbose Regular Expressions
Date 2021-06-08 20:04 +0200
Organization PointedEars Software (PES)
Message-ID <9918766.nUPlyArG6x@PointedEars.de> (permalink)
References (2 earlier) <slrnsaoq63.1q1s.jon+usenet@raven.unequivocal.eu> <b393a8c1-e12d-4872-9afd-f118a278c485n@googlegroups.com> <slrnsaqkde.1q1s.jon+usenet@raven.unequivocal.eu> <2083837.irdbgypaU6@PointedEars.de> <slrnsbvbah.56l.jon+usenet@raven.unequivocal.eu>

Show all headers | View raw


Jon Ribbens wrote:

> […] adding named capture groups to JavaScript implementations
> that don't already have them would transform the project from a neat
> 9-line template-string trick into a complete re-implementation of
> the JavaScript regular expression engine, which would be a whole
> different project...

You might want to reconsider after you have read JSX:regexp.js.  It was not 
trivial to do it, but it certainly did not require what you suggest here :)

-- 
PointedEars
FAQ: <http://PointedEars.de/faq> | <http://PointedEars.de/es-matrix>
<https://github.com/PointedEars> | <http://PointedEars.de/wsvn/>
Twitter: @PointedEars2 | Please do not cc me./Bitte keine Kopien per E-Mail.

Back to comp.lang.javascript | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Re: Verbose Regular Expressions "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2021-05-24 19:23 -0700
  Re: Verbose Regular Expressions Jon Ribbens <jon+usenet@unequivocal.eu> - 2021-05-25 03:02 +0000
    Re: Verbose Regular Expressions "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2021-05-25 11:58 -0700
      Re: Verbose Regular Expressions Jon Ribbens <jon+usenet@unequivocal.eu> - 2021-05-25 19:36 +0000
        Re: Verbose Regular Expressions "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2021-05-25 12:40 -0700
        Re: Verbose Regular Expressions Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2021-06-08 19:35 +0200
          Re: Verbose Regular Expressions Jon Ribbens <jon+usenet@unequivocal.eu> - 2021-06-08 17:48 +0000
            Re: Verbose Regular Expressions Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2021-06-08 20:04 +0200

csiph-web