[plt-scheme] Equivalent to captures for regexp

From: Eduardo Bellani (ebellani at gmail.com)
Date: Mon Nov 2 21:11:29 EST 2009

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?

[1] http://www.ruby-doc.org/core/classes/MatchData.html#M001278

Eduardo Bellani


I object to doing things that computers can do.
- Olin Shivers

Posted on the users mailing list.