speedata / publisher

speedata Publisher - a professional database Publishing system
https://www.speedata.de/
GNU Affero General Public License v3.0
293 stars 36 forks source link

XPath function `matches(<input>, <regexp>)`? #453

Closed pr-apes closed 1 year ago

pr-apes commented 1 year ago

@pgundlach,

I wonder whether it would be possible to include in Publisher the XPath function matches() (which seems to be contains() with regexp functionality).

Many thanks for your help.

pr-apes commented 1 year ago

I see that mimicking the function wouldn't be that hard, but I never touched Go or C.

Even then, I don't know how to compile this, so I wouldn't be able to test my proposed changes.

pgundlach commented 1 year ago

This would be useful and could be done without too much hassle. But I cannot give you an ETA for this.

pr-apes commented 1 year ago

I'm not in a hurry.

pgundlach commented 1 year ago

Will be in next version

pr-apes commented 1 year ago

Great news!

pr-apes commented 1 year ago

Many thanks for the new release, @pgundlach.