Project: talenddataquality
Issue TDQ-5234: Pattern processing should be coherent across pattern analysis, Pattern Test View and components
At the moment, Pattern analysis uses {code}Pattern.compile("regex").matcher("input").find(){code} But Pattern Test View and components use {code}Pattern.compile("regex").matcher("input").matches(){code} or {code}Pattern.matches("regex", "input"){code} (the 2nd and the 3rd are equivalent) Following the discussion with scorreia, the first one is more flexible, because the other 2 methods try to match the entire string even there is no "^" "$" signs, which narrows the possibility to match parts of a string. Besides, in SQL mode of Pattern Test View, the databases apply regex like in the first way.
Story points: 2