scheme / scsh

A Unix shell embedded in scheme
Other
386 stars 36 forks source link

bos missing from rx #5

Closed nxg closed 11 years ago

nxg commented 11 years ago

The elements bos and eos (at least) appear to be missing from the rx syntax:

Welcome to scsh 0.7
Type ,? for help.
> (regexp-search (rx (: (* numeric))) "123")
#{:regexp-match}
> (regexp-search (rx (: bos (* numeric))) "123")
#f
> (regexp-search (rx (: (* numeric) eos)) "123")
#f
> ^D