This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Text.Regex.PCRE | |
regex = "dein(en)? ([^\\s]+)" | |
expected = [ [ "dein F\252ller", "", "F\252ller"] | |
, [ "deinen F\246hn", "en", "F\246hn"] | |
] | |
-- consider this being read from a file | |
inputStr = "Nimm dein F\252ller und nimm deinen F\246hn mit." |
NewerOlder