scheme - Matching wildcards in Guile -
i using guile , trying akin regular expressions.
the problem this: have me simple list this:
((ma.+) (mb.+) (mc.-))
.
now, list this:
((*.+) (mb.+) (mc.-))
the list *
character means can match string long next character +
. means both lists can matched , similar each other.
so how go matching this? elaborate, these list: ((ma.+) (*.+) (mc.-))
, ((ma.+) (mb.+) (*.-))
equivalent original list. how code this?
Comments
Post a Comment