Use this tag for questions about testing whether a data structure has a particular shape or contains particular values in certain locations.
I have the following code which recursively operates on each element within a List def doMatch(list: List[Int]): Unit = …
scala collections pattern-matchingCurrently I'm working on converting HTML codes with equivalent characters in java. I need to convert the below code to …
java pattern-matching matcherI would like to use the AWS CLI to query the contents of a bucket and see if a particular …
amazon-s3 pattern-matching aws-cli jmespathI'm using sed to filter a list of files. I have a sorted list of folders and I want to …
regex perl sed awk pattern-matchingI'm trying to find records that contain a string of 6 or more alpha-numeric characters in uppercase. Some examples: PENDING 3RDPARTY …
sql-server-2008 pattern-matching sql-like collateI'm reading about functional programming and I've noticed that Pattern Matching is mentioned in many articles as one of the …
functional-programming pattern-matching terminologyI'm thinking about a SQL query that returns me all entries from a column whose first 5 characters match. Any ideas? …
sql pattern-matching ansi-sql-92I have the following: serv match { case "chat" => Chat_Server ! Relay_Message(serv) case _ => null } The problem is …
string scala pattern-matchingI have a string. The end is different, such as index.php?test=1&list=UL or index.php?list=…
javascript regex pattern-matchingI'm currently working on a small project with OCaml; a simple mathematical expression simplifier. I'm supposed to find certain patterns …
pattern-matching ocaml