Module

Data.String.Pattern

#Pattern

newtype Pattern

A newtype used in cases where there is a string to be matched.

pursPattern = Pattern ".purs"
--can be used like this:
contains pursPattern "Test.purs"
   == true

Constructors

Instances

#Replacement

newtype Replacement

A newtype used in cases to specify a replacement for a pattern.

Constructors

Instances

Modules