I'm trying to use regular expressions in a print template, but I can't
figure out what is supported. replace() is clearly supported for strings,
because {{ "catalog".replace("alog","s"); }} gives cats, but all my
attempts with regular expressions have failed, whether I use RegExp() or
the slash notation.

Is there a way to use regular expressions in print templates? They would be
oh so useful here!

Benjamin Kalish
Forbes Library
_______________________________________________
Evergreen-dev mailing list
Evergreen-dev@list.evergreen-ils.org
http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/evergreen-dev

Reply via email to