25 October 2015

regexp

This entry will look at Plan 9 Basic REs (similiar to those found in ed), at P9's Extended REs (as in egrep, before egrep got complicated), and at Tcl8.6.x series RE notation based on Henry Spencer's package with some (not quite all) of the Perl 5 extensions.

System: Plan 9, Linux, MS XP Home Edition
CPUs: Intel(R) Atom(TM) CPU N270 @1.60GHz
Deps: plan9port (Linux), 9pm or pf9 (MS)

I've not yet written the code to enable plan9port to run under
Microsoft Corporation's SUA/SFU Interix <versions>.

http://plan9.bell-labs.com/sources/extra/9pm051031.zip

my setting in
Kontrolpanel | System | Avanceret | Miljøvariabler | Brugervariabler
Control Panel | System | Advanced | Environment Variables | User Variables

font C:/Programmer/9pm/font/lucm.9.font

https://bitbucket.org/mtrS/pf9/downloads/

8b0f391be5a4.zip

Conor Williams at the University of Limerick (in 2003)
ported Tcl 8.3.5 to Plan 9.

Ævar Arnfjörð Bjarmason from Iceland (in 2007) wrote
re-engine-Plan9 (CPAN), requiring Perl 5.10 or newer.

Slackware-14.0
perl v5.16.1
(exited on error on Plan9.xs:158:5)

I don't expect some entries on this blog will be filled in on
a short time frame. In the interim the reader may refer to:

http://man.cat-v.org/plan_9_2nd_ed/2/regexp
http://man.cat-v.org/plan_9_2nd_ed/6/regexp

http://man.cat-v.org/p9p/3/regexp
http://man.cat-v.org/p9p/7/regexp

Brent Welch has kindly made available some chapters of his book
"Practical Programming in Tcl and Tk" (Prentice Hall) including
Part II, Chapter 11. Regular Expressions (circa Tcl/Tk 8.0)

http://www.beedub.com/book/2nd/booktoc.mif.html

Most introductory Perl books contain a chapter on regexes.

perlrequick  - Perl regular expressions quick start
perlretut - Perl regular expressions tutorial

Regular Expression Matching Can Be Simple And Fast
(but is slow in Java, Perl, PHP, Python, Ruby, ...)
https://swtch.com/~rsc/regexp/regexp1.html
Discussion on reddit and perlmonks and LtU.

Unix Software from Plan 9
https://swtch.com/plan9port/unix/
libutf, libfmt, libbio, libregexp9. mk,
mk-with-libs

No comments:

Post a Comment