diff --git a/CHANGES.markdown b/CHANGES.markdown
--- a/CHANGES.markdown
+++ b/CHANGES.markdown
@@ -2,6 +2,13 @@
 
 [`weighted-regexp`]: http://hackage.haskell.org/package/weighted-regexp
 
+# 0.3.1.1
+
+## Use `BangPatterns` language extension
+
+Added the `BangPatterns` language extension to the cabal file because
+without it the generated parser fails to build using GHC 7.2.
+
 # 0.3.1
 
 ## Expose internal data types and matching functions
diff --git a/weighted-regexp.cabal b/weighted-regexp.cabal
--- a/weighted-regexp.cabal
+++ b/weighted-regexp.cabal
@@ -1,5 +1,5 @@
 Name:          weighted-regexp
-Version:       0.3.1
+Version:       0.3.1.1
 Cabal-Version: >= 1.6
 Synopsis:      Weighted Regular Expression Matcher
 Description:
@@ -38,6 +38,7 @@
                         Text.RegExp.Matching.Longest.Type,
                         Text.RegExp.Matching.LeftLong.Type
   Extensions:           RankNTypes,
+                        BangPatterns,
                         FlexibleContexts,
                         FlexibleInstances,
                         MultiParamTypeClasses,
@@ -69,6 +70,7 @@
                         Text.RegExp.Matching.Longest.Type,
                         Text.RegExp.Matching.LeftLong.Type
   Extensions:           RankNTypes,
+                        BangPatterns
                         FlexibleContexts,
                         FlexibleInstances,
                         MultiParamTypeClasses,
@@ -102,6 +104,7 @@
                         Text.RegExp.Matching.Longest.Type,
                         Text.RegExp.Matching.LeftLong.Type
   Extensions:           RankNTypes,
+                        BangPatterns,
                         FlexibleContexts,
                         FlexibleInstances,
                         MultiParamTypeClasses,
