Overview
| Artifact ID: | d2395db30469f2281f414b19a9fdfc021ac15b25 |
|---|---|
| Ticket: | 1115587fffffffffffffffffffffffffffffffff
Regexp backreference fail with a * closure |
| User & Date: | dkf on 2009-05-24 02:56:30 |
Changes
- icomment:
There are still serious problems here with the HEAD. $ make shell DYLD_LIBRARY_PATH=`pwd`: TCLLIBPATH="/Users/dkf/Documents/software/tcl/unix/pkgs" TCL_LIBRARY="/Users/dkf/Documents/software/tcl/library" ./tclsh % info patch 8.6b1.1 % regexp -all -inline {(.)\1*} aaabbbcd aaabbbcd a % regexp -all -inline {(.)\1+) aaabbbcd ^Cmake: *** [shell] Interrupt All I was after was an expression that would allow me to get all the runs of any character (as a first stage to writing a run-length encoder). With a “*”, it matched the wrong thing. With a “+” it hangs! (Or at least it wasn't producing an answer in a reasonable amount of time so I killed it...) Elevating priority because of the “+” problem. - login: "dkf"
- mimetype: "text/plain"
- priority changed to: "8"
- username: "dkf"