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

Fix incorrect examples in nre docs #9053

Closed
flaviut opened this Issue Sep 23, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@flaviut
Copy link
Contributor

flaviut commented Sep 23, 2018

On https://github.com/nim-lang/Nim/blame/master/lib/impure/nre.nim#L154-L165, match(re"(\w)").captures will fail to compile because match() returns an option.

@flaviut flaviut self-assigned this Sep 23, 2018

@dom96 dom96 closed this in a0ac0b9 Oct 2, 2018

dom96 added a commit that referenced this issue Oct 2, 2018

Merge pull request #9151 from flaviut/fix-9053
Fix option documentation in nre (fixes #9053)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment