Fixed #59 by the implementation of regexp matching.