| Anonymous | Login | Signup for a new account | 2013-05-25 12:29 CEST | ![]() |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||
| 0004874 | OCaml | OCaml general | public | 2009-09-23 14:29 | 2012-03-24 15:01 | |||
| Reporter | vbigiani | |||||||
| Assigned To | xleroy | |||||||
| Priority | normal | Severity | minor | Reproducibility | always | |||
| Status | closed | Resolution | fixed | |||||
| Platform | OS | OS Version | ||||||
| Product Version | 3.11.1 | |||||||
| Target Version | Fixed in Version | 3.12.0+dev | ||||||
| Summary | 0004874: Str library: digits match \b | |||||||
| Description | The digits (0-9) match againt \b, as can be demonstrated by the following snippet: let reg = Str.regexp "a\\b";; Str.string_match reg "a1" 0;; which should return false, but instead returns true (because 1 is considered a word boundary). | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Notes |
|
|
(0005460) xleroy (administrator) 2010-05-19 14:25 |
Changed the notion of word constituent in Str so that they include digits 0-9 and the _ character in addition to letters. This is more consistent with other regexp packages (Perl, Python, egrep). |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2009-09-23 14:29 | vbigiani | New Issue | |
| 2010-05-19 14:25 | xleroy | Note Added: 0005460 | |
| 2010-05-19 14:25 | xleroy | Status | new => resolved |
| 2010-05-19 14:25 | xleroy | Resolution | open => fixed |
| 2010-05-19 14:29 | xleroy | Assigned To | => xleroy |
| 2010-05-19 14:29 | xleroy | Fixed in Version | => 3.12.0+dev |
| 2012-03-24 15:01 | xleroy | Status | resolved => closed |
| Copyright © 2000 - 2011 MantisBT Group |