Use this tag for questions about testing whether a data structure has a particular shape or contains particular values in certain locations.
I'm trying to understand Pattern.quote using the following code: String pattern = Pattern.quote("1252343% 8 567 hdfg gf^$545"); System.out.println("Pattern …
java regex pattern-matchingI'm wondering how can I use multiple type pattern matching. I have: abstract class MyAbstract case class MyFirst extends MyAbstract …
scala types pattern-matchingI've found myself stuck on a very trivial thing :-] I've got an enum: object Eny extends Enumeration { type Eny = …
scala pattern-matching switch-statementI have a file like the following and I would like to print the lines between two given patterns PAT1 …
shell perl awk sed pattern-matchingI'm new to scala, and I'm learning the match keyword now. I wanna know if we can use the keyword …
scala pattern-matching matchI have used the SIFT implementation of Andrea Vedaldi, to calculate the sift descriptors of two similar images (the second …
matlab pattern-matching computer-vision sift image-comparisonI've got a problem with this code, it should count the longest substring of the same letter in a string, …
haskell pattern-matching non-exhaustive-patternsUsing SQL Server 2008. I have a table with the following column: sampleData (nvarchar(max)) The value for this column in …
sql sql-server pattern-matchingI'm a new user to gulp.js. I'd like to move all of my non-javascript files to a build directory. …
node.js pattern-matching glob gulpI want to merge multiple spaces into single space(space could be tab also) and remove trailing/leading spaces. For …
r pattern-matching