macros/find_all_hard_coded_references.sql [52:73]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                '(?ix)

                # NOT following "distinct "
                (?<!distinct\s)

                # first matching group
                # from or join followed by at least 1 whitespace character
                (from|join)\s+

                # second matching group
                # opening {{, 0 or more whitespace character(s), var, 0 or more whitespace character(s), an opening parenthesis, 0 or more whitespace character(s), 1 or 0 quotation mark
                ({{\s*var\s*\(\s*[\'\"]?)

                # third matching group
                # at least 1 of anything except a parenthesis or quotation mark
                ([^)\'\"]+)

                # fourth matching group
                # 1 or 0 quotation mark, 0 or more whitespace character(s)
                ([\'\"]?\s*)

                # fifth matching group
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



macros/find_all_hard_coded_references.sql [79:100]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                '(?ix)

                # NOT following "distinct "
                (?<!distinct\s)

                # first matching group
                # from or join followed by at least 1 whitespace character
                (from|join)\s+

                # second matching group
                # opening {{, 0 or more whitespace character(s), var, 0 or more whitespace character(s), an opening parenthesis, 0 or more whitespace character(s), 1 or 0 quotation mark
                ({{\s*var\s*\(\s*[\'\"]?)

                # third matching group
                # at least 1 of anything except a parenthesis or quotation mark            
                ([^)\'\"]+)

                # fourth matching group
                # 1 or 0 quotation mark, 0 or more whitespace character(s)
                ([\'\"]?\s*)

                # fifth matching group
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



