tSchemaComplianceCheckRegex

About: use regex with tSchemaComplianceCheck (extend tSchemaComplianceCheck)

beta version : test in 3.2 TOS

Uitlisation :
Check "use regex"
use pattern or a static Class Pattern routines as a library.
leave field empty if no regex

preferences :
use with Pattern looks like
// template routine Java
package routines;


public class Pattern {
static public String insee = "^[12][0-9]{2}(0[1-9]|1[0-2])(2[AB]|[0-9]{2})[0-9]{6}([0-9]{2})?$";
static public String phone_fr = "^0[1-689]([-. ]?[0-9]{2}){4}$";
static public String email = "[a-zA-Z0-9._%-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,4}";
}

Revision List

expand/collapse all

Revision 0.12 released on 2009-11-17
Revision 0.1 released on 2009-11-03

Revision: 0.1

Released on: 2009-11-03

Compatible with: 3.2.1, 3.2.0, 3.2.0RC1, 3.2.0M3, 3.2.0M2, 3.2.0M1

Downloads: 10

version beta test

Work fine but need more test (about exception)
test on linux Ubuntu (not on Microsoft OS !)

manage empty value :add if(empty) ... else ....


Copyright © 2006 - 2010 Talend. All rights reserved. Talend Contributor Agreement