[69] in Coldmud discussion meeting
Re: Minor note about regexp matching
daemon@ATHENA.MIT.EDU (Fri Nov 26 09:27:57 1993
)
Date: Fri, 26 Nov 1993 09:09:41 -0500
From: Quinn Avery <quinn@DUS.Mountain.Net>
To: coldstuff@MIT.EDU, ghudson@MIT.EDU
About regexp:
Could you possibly include the original string matched against the
regexp pattern as the final element of the return value? Sometimes
one would want to simply pass the match result and extract fields
from its indices, instead of passing both the result and the string
originally matched against it.
Maybe a companion substitute() as in MOO?
Thanks..
-quinn