Use this tag for questions about testing whether a data structure has a particular shape or contains particular values in certain locations.
I need regular expressions to match the below cases. 3 or more consecutive sequential characters/numbers; e.g. 123, abc, 789, pqr, etc. 3 …
java regex pattern-matchingI have been seeing quite a large variation in response times regarding LIKE queries to a particular table in my …
postgresql indexing pattern-matching query-optimization sql-likeWhat are the rules for Ant path style patterns. The Ant site itself is surprisingly uninformative.
java path ant pattern-matchingI am new to programming and working on a function to return true if a word is present in a …
java pattern-matchingI have this regex (?:$|^| )(one|common|word|or|another)(?:$|^| ) which matches fine unless the two words are next to each …
regex pattern-matching regex-groupIs it possible to match on a comparison using the pattern matching system in Scala? For example: a match { case 10 =&…
scala pattern-matchingI am using a case insensitive search in Mongo, something similar to https://stackoverflow.com/q/5500823/1028488. ie I am using …
regex mongodb pattern-matching match case-insensitiveHow does the performance of the following two query components compare? LOWER LIKE ... LOWER(description) LIKE '%abcde%' ... iLIKE ... …
performance postgresql pattern-matching database-performanceonefish onechicken twofish twochicken twocows threechicken What if I want to grep for lines containing "two", but I only want …
bash grep pattern-matching matchIn C# 7, we can use if (x is null) return; instead of if (x == null) return; Are there any advantages …
c# .net null pattern-matching c#-7.0