| |||||||||||||||
| |||||||||||||||
| Synopsis | |||||||||||||||
| |||||||||||||||
| Documentation | |||||||||||||||
| replace_description :: String | |||||||||||||||
| replace_help :: String | |||||||||||||||
| replace :: DarcsCommand | |||||||||||||||
| replace_cmd :: [DarcsFlag] -> [String] -> IO () | |||||||||||||||
| default_toks :: String | |||||||||||||||
| filename_toks :: String | |||||||||||||||
| is_tok :: String -> String -> Bool | |||||||||||||||
| Given a set of characters and a string, returns true iff the string contains only characters from the set. A set beginning with a caret (^) is treated as a complementary set. | |||||||||||||||
| choose_toks :: [DarcsFlag] -> String -> String -> IO String | |||||||||||||||
This function checks for --token-chars on the command-line. If found, it validates the argument and returns it, without the surrounding square brackets. Otherwise, it returns either default_toks or filename_toks as explained in replace_help. Note: Limitations in the current replace patch file format prevents tokens and token-char specifiers from containing any whitespace. | |||||||||||||||
| Produced by Haddock version 2.4.2 |