Skip to content

DefaultSqlErrorExtractor.SqlServerObjectRegex method

protected static Regex SqlServerObjectRegex()

Remarks

Pattern:

in object '(?<table>[^']+)'

Options:

RegexOptions.IgnoreCase | RegexOptions.CultureInvariant

Explanation:

○ Match a character in the set [Ii].
○ Match a character in the set [Nn].
○ Match ' '.
○ Match a character in the set [Oo].
○ Match a character in the set [Bb].
○ Match a character in the set [Jj].
○ Match a character in the set [Ee].
○ Match a character in the set [Cc].
○ Match a character in the set [Tt].
○ Match the string " '".
○ "table" capture group.
    ○ Match a character other than '\'' atomically at least once.
○ Match '\''.

See Also