Skip to content

DefaultSqlErrorExtractor.PostgresColumnsRegex method

protected static Regex PostgresColumnsRegex()

Remarks

Pattern:

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

Options:

RegexOptions.IgnoreCase | RegexOptions.CultureInvariant

Explanation:

○ 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 the string ")=".

See Also