DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ F T

⟦436034644⟧ TextFile

    Length: 945 (0x3b1)
    Types: TextFile
    Names: »FIX#1«

Derivation

└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki
    └─ ⟦this⟧ »EUUGD11/euug-87hel/sec1/jove/FIX#1« 

TextFile


System: jove version 4.6 (mod.sources)
Description:
	The handling of backslash in reg-exp substitution is not working
	in this version of jove.  To substitute a backslash,  you need
	to repeat it three times. Paren sub-expressions also need an
	extra backslash.

Repeat-by:
	ESC-R some text <RET>
        other\\text

Fix:
	By comparing with an earlier (working version), it is obviously
	just an off by one bug in re_dosub().


*** re.c.bad	Mon Feb 23 12:53:27 1987
--- re.c	Mon Feb 23 12:51:45 1987
***************
*** 741,747
  			if ((c = *repp++) == '\0') {
  				*tp++ = '\\';
  	  			goto endchk;
! 			} else if ((c = *repp++) >= '1' && c <= nparens + '1') {
  				tp = insert(tp, endp, c - '1');
  				continue;
  			}

--- 741,747 -----
  			if ((c = *repp++) == '\0') {
  				*tp++ = '\\';
  	  			goto endchk;
! 			} else if ((c = *repp) >= '1' && c <= nparens + '1') {
  				tp = insert(tp, endp, c - '1');
  				continue;
  			}