fix a collision with latest regexpr package
This commit is contained in:
		
							parent
							
								
									798841a87e
								
							
						
					
					
						commit
						acbb669bcc
					
				| @ -36,7 +36,7 @@ import Debug.Trace | ||||
| import Test.HUnit | ||||
| import Text.Printf | ||||
| import Text.Regex | ||||
| import Text.RegexPR | ||||
| import Text.RegexPR hiding (gsubRegexPRBy) | ||||
| import Text.ParserCombinators.Parsec | ||||
| 
 | ||||
| 
 | ||||
| @ -120,6 +120,7 @@ containsRegex r s = case matchRegex r s of | ||||
|                       Just _ -> True | ||||
|                       otherwise -> False | ||||
| 
 | ||||
| -- regexpr-0.5.1 includes this now, keep a little longer to minimise installation pain | ||||
| -- | Replace all occurrences of a regexp in string using the given replacement function | ||||
| gsubRegexPRBy :: String -> (String -> String) -> String -> String | ||||
| gsubRegexPRBy pat f str =  | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user