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

Docs improvement: what do the colons mean? ":" #640

Open
vladinator1000 opened this issue Jul 26, 2023 · 2 comments
Open

Docs improvement: what do the colons mean? ":" #640

vladinator1000 opened this issue Jul 26, 2023 · 2 comments

Comments

@vladinator1000
Copy link

I was reading the vocabulary docs and saw this example

number -> [0-9]:+

What do the colons and plus mean?

@DenverCoder1
Copy link

:+ is Kleene plus from Regular expressions meaning "appearing one or more times"

:* is Kleene star meaning "appearing zero or more times"

@TekuConcept
Copy link

:? - "appearing zero or one times"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants