language-python-0.5.6: Parsing and pretty printing of Python code.

Copyright(c) 2009 Bernie Pope
LicenseBSD-style
Maintainerbjpop@csse.unimelb.edu.au
Stabilityexperimental
Portabilityghc
Safe HaskellSafe
LanguageHaskell98

Language.Python.Common.StringEscape

Contents

Description

Conversion to/from escaped characters in strings. Note: currently does not support escaped Unicode character names.

See:

Synopsis

String conversion.

unescapeString :: String -> String Source #

Convert escaped sequences of characters into real characters in a normal Python string.

Digits allowed in octal and hex representation.

octalDigits :: String Source #

The set of valid octal digits in Python.

hexDigits :: String Source #

The set of valid hex digits in Python.