[plt-scheme] Equivalent to captures for regexp
On Nov 3, Eduardo Bellani wrote:
> Hey PLT folk
>
> I'm building something similar to gedit's snap-open for DrScheme using
> James Buck fuzzy finder
> as a template for the finder library. Problem is, I'm lacking a
> function that would give me the
> equivalent of captures[1] so I can calculate the score or weight of
> the match. I've searched the docs about regex, but to no avail.
>
> Anyone care to help out?
Looks like that's the output of `regexp-match'.
--
((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:
http://barzilay.org/ Maze is Life!