Implement regsexp string search.
authorChris Hanson <org/chris-hanson/cph>
Tue, 2 May 2017 06:08:04 +0000 (23:08 -0700)
committerChris Hanson <org/chris-hanson/cph>
Tue, 2 May 2017 06:08:04 +0000 (23:08 -0700)
commit936f049ff5fbeb3d1354227ae20c57998e789dc3
tree7d53f1b87e36ebfc9d7c365393e9ffd0468cd9d8
parent291908f7242e74982977e809480dbcd401b30ee7
Implement regsexp string search.

Also change the return value of regsexp match from the end index to a pair of
the start and end indices.

Fix unit tests, which weren't testing anything due to the use of run-sub-test.
src/runtime/regsexp.scm
src/runtime/runtime.pkg
tests/runtime/test-regsexp.scm