Skip to content

How to consume head of a string? #958

Answered by BurntSushi
oovm asked this question in Q&A
Discussion options

You must be logged in to vote

Change your regex to ^[1-9]+?

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@oovm
Comment options

@BurntSushi
Comment options

Answer selected by oovm
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants