Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Str.split loops #8474

Closed
vicuna opened this issue Feb 5, 2004 · 1 comment
Closed

Str.split loops #8474

vicuna opened this issue Feb 5, 2004 · 1 comment
Labels

Comments

@vicuna
Copy link

vicuna commented Feb 5, 2004

Original bug ID: 2167
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)

Bug description

Full_Name: Frederic Besson
Version: 3.07+2
OS: Windows
Submission from: tide135.microsoft.com (213.199.144.166)

Str.split does not terminate for regexps matching epsilon
let _ =
Str.split (Str.regexp "a?") "string";
print_string "end"

I don't see an obvious semantics, though.

@vicuna
Copy link
Author

vicuna commented Feb 17, 2004

Comment author: administrator

Fixed 2004-02-17 by XL

@vicuna vicuna closed this as completed Feb 17, 2004
@vicuna vicuna added the bug label Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant