Content Committee member Ben Anderson has written a very informative article on using the XQuery function fn:matches to provide regular expression pattern matching in SQL on the DB2 for LUW platform.
Access the article from the following link -
His approach is validated by the fact that the IBM developers of the new JSON support in DB2 for LUW 10.5 use the same method. You can see this if you browse the details of JSON enablement from the db2nosql.sh command line using the "enable(false)" command.
Our entire Content File Library can be found here -