Commit Graph

8 Commits (ee8f71101b80496b2ec2c996d29ac33bbaf7cf00)

Author SHA1 Message Date
Damien Doligez ee8f71101b clean up whitespace and cut long lines 2016-02-17 13:36:27 +01:00
David Allsopp 340788e216 Fix XML tokenization test on Windows
XML sample document behaves differently when checked out on Windows where
the source line endings in the test document become `\r\n`.

Alternative would have been to specify that t01.ml needs LF endings in
.gitattributes, but explicitly including the \n and \t in the OCaml string
seems less brittle.
2016-01-25 15:07:58 +00:00
Xavier Leroy 45343f6a39 PR#6989: in Str library, make sure that all \(...\) groups are binding and can be consulted with Str.matched_group.
There used to be a limitation to 32 binding groups, which is now lifted by dynamically allocating the groups data if it is too big.

Also:
- Modernize strstubs.c to use the Caml namespace
- Fixed a potential bug with backreferences \\n referring to a nonexistent group.
2015-12-06 12:43:02 +01:00
Damien Doligez b860d63145 whitespace cleanup, cut long lines, add some missing headers
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16415 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-09-11 11:58:31 +00:00
Damien Doligez 443aca36ae whitespace, non-ascii chars, some missing headers
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13026 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-10-17 20:09:16 +00:00
Damien Doligez 997a678d5e clean up TABs and whitespace
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12799 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-07-30 18:04:46 +00:00
Xavier Leroy d4d232101d PR#4874: interpretation of \b in regexps: characters that constitute a word now include 0-9 and _
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10429 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-19 12:22:24 +00:00
Xavier Clerc 94b5bffb5c Tests moved to 'lib-str'
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9584 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-25 14:31:01 +00:00