Use this tag for questions about testing whether a data structure has a particular shape or contains particular values in certain locations.
I'm looking for a fuzzy search JavaScript library to filter an array. I've tried using fuzzyset.js and fuse.js, …
javascript regex pattern-matching string-matching fuzzy-searchI have the following piece of code from this question: def addChild(n: Node, newChild: Node) = n match { case Elem(…
scala pattern-matchingI'm looking for a way to test whether or not a given string repeats itself for the entire string or …
python string pattern-matchingSo here's the situation. I want to define a case class like so: case class A(val s: String) and …
scala pattern-matching case-classLet's say I want to handle multiple return values from a remote service using the same code. I don't know …
scala pattern-matchingIn Microsoft SQL Server, it's possible to specify an "accent insensitive" collation (for a database, table or column), which means …
sql postgresql localization indexing pattern-matchingI'm having a hell of a time trying to transfer my experience with javascript regex to Python. I'm just trying …
python regex pattern-matchingI am trying to run a powershell script that queries for accounts that expire within 7 days, I currently have $a = (…
powershell active-directory pattern-matching user-accountsWhat is the command to match brackets in Emacs (the equivalent of the % command in Vim)?
linux emacs pattern-matching editor gnuval a: Array[Int] = Array(1,2,4,5) val b: Array[Int] = Array(1,2,4,5) a==b // false Is there a pattern-matching way to see …
arrays scala pattern-matching