[Haskell-beginners] subRegex https? with anchor href tags

Shakthi Kannan shakthimaan at gmail.com
Sat Nov 12 14:23:30 CET 2011


Hi,

--- On Sat, Nov 12, 2011 at 5:44 PM, Daniel Fischer
<daniel.is.fischer at googlemail.com> wrote:
| Maybe the backreferences numbering starts at 0?
| Worth a try.
\--

\0 represents the entire string match:

  http://cvs.haskell.org/Hugs/pages/libraries/base/Text-Regex.html

Prelude Text.Regex> subRegex (mkRegex "e") "hello" "\\0"
"hello"

SK

-- 
Shakthi Kannan
http://www.shakthimaan.com



More information about the Beginners mailing list