Skip to content

Custom regex SSH match does not work #160

Open

Description

@quenode

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions