You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 1510 Reporter: administrator Status: closed Resolution: not a bug Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: mattias waldau
Version: 3.06
OS: cygwin and linux
Submission from: h13n2fls34o849.telia.com (217.208.235.13)
Str.global_replace empty_rows_pattern "\n" str ;; fails for the sample file
crash.ml,
Str.global_replace empty_rows_pattern "\n" str ;; fails for the sample file
crash.ml,
The Str implementation in OCaml 3.06 and earlier is known to fail on
certain large input strings. We are working on a reimplementation of
this library that behaves better. In particular, it runs your example
without any problems.
If you can't wait for the 3.07 release, your best bet is to use PCRE
instead of Str.
Original bug ID: 1510
Reporter: administrator
Status: closed
Resolution: not a bug
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: mattias waldau
Version: 3.06
OS: cygwin and linux
Submission from: h13n2fls34o849.telia.com (217.208.235.13)
Str.global_replace empty_rows_pattern "\n" str ;; fails for the sample file
crash.ml,
[mattias@pfour excel2ocaml]$ ocamlc str.cma crash.ml
[mattias@pfour excel2ocaml]$ a.out
Fatal error: exception Failure("Str.search_forward")
(Program not linked with -g, cannot print stack backtrace)
[mattias@pfour excel2ocaml]$
The file crash.ml.gz can be found at
www.xleverywhere.com/tmp/crash.ml.gz
The text was updated successfully, but these errors were encountered: