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

Custom regex SSH match does not work #160

Open
quenode opened this issue Aug 25, 2024 · 0 comments
Open

Custom regex SSH match does not work #160

quenode opened this issue Aug 25, 2024 · 0 comments

Comments

@quenode
Copy link

quenode commented Aug 25, 2024

Hi am trying to match ssh keys using custom regex.

set -q @thumbs-regexp-5 '(ssh-rsa|ssh-dss|ecdsa-sha2-nistp256|ecdsa-sha2-nistp384|ecdsa-sha2-nistp521|ssh-ed25519)\s+[A-Za-z0-9+/]+[=]{0,3}(\s+.+)?'

But looks like there is a problem with current some other matcher probably will investigated further.
Maybe regex is wrong but test on https://regex101.com/ say its ok for rust.

image

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

1 participant