#65 Add startsWith and endsWith JAPE operators

open
nobody
5
2013-01-02
2010-04-28
Phil Gooch
No

startsWith, e.g.

{X startsWith {Y.majorType == prefix} }

(matches if X.length >= Y.length and the relative offset of Y within X is 0)

endsWith e.g.

{X endsWith {Y.majorType == suffix} }

(matches if X.length >= Y.length and the relative offset of Y within X is X.length - Y.length )

Discussion

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks