* [Caml-list] ocamlpcre help
@ 2002-12-15 0:40 onlyclimb
2002-12-14 17:48 ` Markus Mottl
0 siblings, 1 reply; 2+ messages in thread
From: onlyclimb @ 2002-12-15 0:40 UTC (permalink / raw)
To: caml-list
Dear Caml List
i have tried :
let _ =
let s ="Hello world" in
let str = Pcre.replace ~pat:"\\b" ~templ:"?" s in
print_string s ;
print_newline() ;
print_string str ;
print_newline();;
the result is
localhost# ./try
Hello world
?Hello?e?world?
however in the mannul of pcre
\b means word boundary
so , i figure that the result maybe ?Hello? ?world?
i dont know where comes the "e" in the middle?
Thanks
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-12-14 17:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-15 0:40 [Caml-list] ocamlpcre help onlyclimb
2002-12-14 17:48 ` Markus Mottl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox