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

help in a regexp for symbol #160

Open
cesarmarinhorj opened this issue May 10, 2024 · 7 comments
Open

help in a regexp for symbol #160

cesarmarinhorj opened this issue May 10, 2024 · 7 comments

Comments

@cesarmarinhorj
Copy link

I copied language_jennel to language_janet to make a Janet language plugin.
but I cant resolve the symbol regexp.

A symbol can be:
:symbol
:my-symbol
:just/another

thanks!!!

@SwissalpS
Copy link
Contributor

have you tried ":[%w_-/]*"

(I've got no experience with either languages)
(language_jennel.lua doesn't seem part of this repository.)

@cesarmarinhorj
Copy link
Author

works in:
:types
:nodes

but not in:
:any/types
:any/nodes
:any-of/test-in-tests

just first letters part works

@cesarmarinhorj
Copy link
Author

after ready, I want submit here, can I?

@SwissalpS
Copy link
Contributor

works in: :types :nodes

but not in: :any/types :any/nodes :any-of/test-in-tests

just first letters part works

It would help if we could see your code as it is so far, you could submit a draft-PR then once it works, change it to 'ready for review'.

@cesarmarinhorj
Copy link
Author

how can I send file? here or by a pull request?

@SwissalpS
Copy link
Contributor

it is better to do a PR (pull request) than to post files.

@cesarmarinhorj
Copy link
Author

cesarmarinhorj commented May 11, 2024

I made it!
sorry by delay. is my first open source contribution! 8)

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

2 participants