Fix 16: correction on end regex for predicates.
Merge pull request #17 from pchaigno/fix16

Fix #16: correction on end regex for predicates.