reassign.icn: Procedures to access RE groupings and format into a string

link reassign
May 2, 2001; David A. Gamey
This file is in the public domain.

Descriptions:

ReAssign( s ) : s2

   Replaces sequences of \n in s with the corresponding parenthesis
   groups from the last regular expression match/find (if one exists).

   Special characters:
   \n     use nth parenthesis group
   \\     escaped \
   \n.i   nth group followed by a number

Source code | Program Library Page | Icon Home Page