﻿Notes:

mssql regex: http://msdn.microsoft.com/en-us/magazine/cc163473.aspx
oracle regex: http://docs.oracle.com/cd/B12037_01/server.101/b10759/conditions018.htm#SQLRF00501
mysql regex: http://dev.mysql.com/doc/refman/5.5/en/regexp.html#operator_regexp

MS SQL:
1. Define UDF for all relevant functions
2. deploy the assembly with UDFs
3. enable CLR integration -> SQL Surface Area Configurator
4. Use proper .net version for each SQL version: SQL 2005 = .net 2.0
5. map the function in the context
6. use int for boolean functions return type
7. make the linq and try it