Regex Inventory

List of all Regex mentioned in the code..

ValueCountFile:Line
'/.{2}/'
1
  • /lib/Doctrine/DBAL/DBALException.php
'/SELECT\s+(DISTINCT\s+)?TOP\s/i'
1
  • /lib/Doctrine/DBAL/Platforms/SQLServerPlatform.php
'(([^a-zA-Z0-9_]+))'
1
  • /lib/Doctrine/DBAL/Schema/Table.php
'/^\'(.*)\'$/'
1
  • /lib/Doctrine/DBAL/Schema/MySqlSchemaManager.php
'/^\s*(SELECT\s+(DISTINCT\s+)?)(.*)/i'
1
  • /lib/Doctrine/DBAL/Platforms/SQLAnywherePlatform.php
'~([' preg_quote($this->getLikeWildcardCharacters( ) . $escapeChar'~') . '])~u'
1
  • /lib/Doctrine/DBAL/Platforms/AbstractPlatform.php
'/[\\s]+order\\s+by\\s/im'
1
  • /lib/Doctrine/DBAL/Platforms/SQLServer2012Platform.php
'/^SELECT\s+DISTINCT/im'
1
  • /lib/Doctrine/DBAL/Platforms/SQLServer2012Platform.php
'/^(\s*SELECT\s+(?:DISTINCT\s+)?)(.*)$/is'
1
  • /lib/Doctrine/DBAL/Platforms/SQLServerPlatform.php
'(^(([a-zA-Z]{1}[a-zA-Z0-9_$#]{0,})|("[^"]+"))$)'
1
  • /lib/Doctrine/DBAL/Platforms/OraclePlatform.php
'/' $token '/'
1
  • /lib/Doctrine/DBAL/SQLParserUtils.php
'/^\s*SELECT/i'
1
  • /lib/Doctrine/DBAL/Platforms/OraclePlatform.php
'/\sFROM\s/i'
1
  • /lib/Doctrine/DBAL/Platforms/OraclePlatform.php
'/^(?:5\.5\.5-)?(mariadb-)?(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)/i'
1
  • /lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php
'/\s+(\d+\.\d+\.\d+\.\d+\.\d+)\s+/'
1
  • /lib/Doctrine/DBAL/Driver/OCI8/OCI8Connection.php
'/' preg_quote($currentLiteralDelimiter'/') . '/'
1
  • /lib/Doctrine/DBAL/Driver/OCI8/OCI8Statement.php
'/[?\'"]/'
1
  • /lib/Doctrine/DBAL/Driver/OCI8/OCI8Statement.php
"/''/"
1
  • /lib/Doctrine/DBAL/Schema/SQLAnywhereSchemaManager.php
'/^.*\s+as\s+SELECT(.*)/i'
1
  • /lib/Doctrine/DBAL/Schema/SQLAnywhereSchemaManager.php
'/^\((.*)\)$/s'
1
  • /lib/Doctrine/DBAL/Schema/SQLServerSchemaManager.php
'(\(DC2Type:(((?!\)).)+)\))'
1
  • /lib/Doctrine/DBAL/Schema/AbstractSchemaManager.php
'/[a-z]/'
1
  • /lib/Doctrine/DBAL/Schema/OracleSchemaManager.php
'#^((?:pdo_)?sqlite3?):///#'
1
  • /lib/Doctrine/DBAL/DriverManager.php
'(ON UPDATE ([a-zA-Z0-9]+( (NULL|ACTION|DEFAULT))?))'
1
  • /lib/Doctrine/DBAL/Schema/PostgreSqlSchemaManager.php
'(ON DELETE ([a-zA-Z0-9]+( (NULL|ACTION|DEFAULT))?))'
1
  • /lib/Doctrine/DBAL/Schema/PostgreSqlSchemaManager.php
'/FOREIGN KEY \((.+)\) REFERENCES (.+)\((.+)\)/'
1
  • /lib/Doctrine/DBAL/Schema/PostgreSqlSchemaManager.php
'~.*\(([0-9]*)\).*~'
1
  • /lib/Doctrine/DBAL/Schema/PostgreSqlSchemaManager.php
"/^nextval\('(.*)'(::.*)?\)$/"
1
  • /lib/Doctrine/DBAL/Schema/PostgreSqlSchemaManager.php
"/^['(](.*)[')]::/"
1
  • /lib/Doctrine/DBAL/Schema/PostgreSqlSchemaManager.php
'/^NULL::/'
1
  • /lib/Doctrine/DBAL/Schema/PostgreSqlSchemaManager.php
"('([^']+)'::)"
1
  • /lib/Doctrine/DBAL/Schema/PostgreSqlSchemaManager.php
'#
                    (?:CONSTRAINT\s+([^\s]+)\s+)?
                    (?:FOREIGN\s+KEY[^\)]+\)\s*)?
                    REFERENCES\s+[^\s]+\s+(?:\([^\)]+\))?
                    (?:
                        [^,]*?
                        (NOT\s+DEFERRABLE|DEFERRABLE)
                        (?:\s+INITIALLY\s+(DEFERRED|IMMEDIATE))?
                    )?#isx'
1
  • /lib/Doctrine/DBAL/Schema/SqliteSchemaManager.php
'{(?:\W' preg_quote($column) . '\W|\W' preg_quote($this->_platform->quoteSingleIdentifier($column)) . '\W)[^,(]+(?:\([^()]+\)[^,]*)?(?:(?:DEFAULT|CHECK)\s*(?:\(.*?\))?[^,]*)*COLLATE\s+["\']?([^\s,"\')]+)}is'
1
  • /lib/Doctrine/DBAL/Schema/SqliteSchemaManager.php
'/\s* # Allow whitespace characters at start of line
CREATE\sTABLE # Match "CREATE TABLE"
(?:\W"' 
preg_quote($this->_platform->quoteSingleIdentifier($table), '/') . '"\W|\W' preg_quote($table'/') . '\W) # Match table name (quoted and unquoted)
( # Start capture
   (?:\s*--[^\n]*\n?)+ # Capture anything that starts with whitespaces followed by -- until the end of the line(s)
)/ix'
1
  • /lib/Doctrine/DBAL/Schema/SqliteSchemaManager.php
'{[\s(,](?:\W' preg_quote($this->_platform->quoteSingleIdentifier($column)) . '\W|\W' preg_quote($column) . '\W)(?:\([^)]*?\)|[^,(])*?,?((?:(?!\n))(?:\s*--[^\n]*\n?)+)}i'
1
  • /lib/Doctrine/DBAL/Schema/SqliteSchemaManager.php
"/^'(.*)'$/"
1
  • /lib/Doctrine/DBAL/Schema/SQLAnywhereSchemaManager.php
'([A-Za-z]+\(([0-9]+)\,([0-9]+)\))'
2
  • /lib/Doctrine/DBAL/Schema/PostgreSqlSchemaManager.php
  • /lib/Doctrine/DBAL/Schema/MySqlSchemaManager.php
'/^(?P<major>\d+)(?:\.(?P<minor>\d+)(?:\.(?P<patch>\d+))?)?/'
2
  • /lib/Doctrine/DBAL/Driver/AbstractPostgreSQLDriver.php
  • /lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php
'/^(?P<major>\d+)(?:\.(?P<minor>\d+)(?:\.(?P<patch>\d+)(?:\.(?P<build>\d+))?)?)?/'
2
  • /lib/Doctrine/DBAL/Driver/AbstractSQLAnywhereDriver.php
  • /lib/Doctrine/DBAL/Driver/AbstractSQLServerDriver.php
'{^\s*--}m'
2
  • /lib/Doctrine/DBAL/Schema/SqliteSchemaManager.php
  • /lib/Doctrine/DBAL/Schema/SqliteSchemaManager.php
'/^\'(.*)\'$/s'
4
  • /lib/Doctrine/DBAL/Schema/SqliteSchemaManager.php
  • /lib/Doctrine/DBAL/Schema/OracleSchemaManager.php
  • /lib/Doctrine/DBAL/Schema/SQLServerSchemaManager.php
  • /lib/Doctrine/DBAL/Schema/DB2SchemaManager.php