Regular Expressions for the Detection of Code Elements
- [A-Z][a-zA-Z]+ ?<[A-Z][a-zA-Z]*>
- [a-zA-Z0-9\.]+[(][a-zA-Z_,\.]*[)]
- (https?://)?[a-zA-Z_\\-/]{2,}(\.[a-zA-Z_0-9\\-]{2,})+[^\s\<\>{\(\),'\"”’}:]*
- ([\.]?[/]?\w+\.\w+\.?\w+(?:\.\w+)*)
- [A-Za-z]+\.[A-Z]+
- [@][a-zA-Z]+
- (?:\s|^)([a-zA-z]{3,}\.[A-Za-z]+_[a-zA-Z_]+)
- \b([A-Z]{2,})\b
- (?:\s|^)([A-Z]+_[A-Z0-9_]+)
- (?:\s|^)([a-z]+_[a-z0-9_]+)
- \w{3,}:\w+[a-zA-Z0-9:]*
- (?:\s|^)([A-Z]+[a-z0-9]+[A-Z][a-z0-9]+\w*)(\s|\.\s|\.$|$|,\s)
- (?:\s|^)([A-Z]{3,}[a-z0-9]{2,}\w*)(\s|\.\s|\.$|$|,\s)
- (?:\s|^)([a-z0-9]+[A-Z]+\w*)(\s|\.\s|\.$|$|,\s)
- (?:\s|^)(\w+\([^)]*\))(\s|\.\s|\.$|$|,\s)
- ([A-Z][a-z]+[A-Z][a-zA-Z]+)(\s|,|\.|\))
- (?:\s|^)([a-z]+[A-Z][a-zA-Z]+)(\s|,|\.|\))
- (?:\s|^)([A-Z]+[a-z0-9]+[A-Z][a-z0-9]+\w*)(\s|\.\s|\.$|$|,|\.|\))
- ([a-z]+[A-Z][a-zA-Z]+)(\s|,|\.|\))
- ([a-z] )([A-Z][a-z]{3,11})( )
- </?[a-zA-Z0-9 ]+>
- \{\{[^\}]*\}\}
- \{\%[^\%]*\%\}
- /[^/]*/
- ‘[^’]*’
- __[^_]*__
- \$[A-Za-z\_]+