Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Ticket #1909 (new defect)

Opened 14 years ago

Last modified 14 years ago

Implement method RegExpT.escape().

Reported by: Aziz Assigned to: larsivi
Priority: major Milestone: 1.0
Component: Tango Version: 0.99.9 Kai
Keywords: regex escape Cc:

Description

Please implement this method. It should escape all meta characters in a string.

Example from Python:

>>> re.escape('+(]?')
'\\+\\(\\]\\?'

Change History

04/24/10 22:15:32 changed by kris

  • owner changed from kris to larsivi.