Skip to content

DefaultSqlErrorExtractor.MySqlColumnsRegex method

protected static Regex MySqlColumnsRegex()

Remarks

Pattern:

foreign key \\((?<cols>[^)]+)\\)

Options:

RegexOptions.IgnoreCase | RegexOptions.CultureInvariant

Explanation:

○ Match a character in the set [Ff].
○ Match a character in the set [Oo].
○ Match a character in the set [Rr].
○ Match a character in the set [Ee].
○ Match a character in the set [Ii].
○ Match a character in the set [Gg].
○ Match a character in the set [Nn].
○ Match ' '.
○ Match a character in the set [Kk\u212A].
○ Match a character in the set [Ee].
○ Match a character in the set [Yy].
○ Match the string " (".
○ "cols" capture group.
    ○ Match a character other than ')' atomically at least once.
○ Match ')'.

See Also