Skip to content

feat: support regex with r/.../ syntax#1745

Merged
ellie merged 3 commits into
atuinsh:mainfrom
lilydjwg:regex
Mar 1, 2024
Merged

feat: support regex with r/.../ syntax#1745
ellie merged 3 commits into
atuinsh:mainfrom
lilydjwg:regex

Conversation

@lilydjwg

Copy link
Copy Markdown
Contributor

Checks

  • I am happy for maintainers to push small adjustments to this PR, to speed up the review cycle
  • I have checked that there are no existing pull requests for the same thing

As discussed in https://forum.atuin.sh/t/a-regex-search-mode/169/16.

I hope there are no missed edge cases.

@ellie

ellie commented Feb 26, 2024

Copy link
Copy Markdown
Member

Looks good overall, but would it also be possible to get some tests (given the complexity of this) please?

You should be able to start with copying one of the tests at the bottom of the same file

Thanks!

@ellie ellie left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome, thank you!

@ellie ellie merged commit aec5df4 into atuinsh:main Mar 1, 2024
@lilydjwg lilydjwg deleted the regex branch March 1, 2024 13:29
@notDavid

notDavid commented May 3, 2025

Copy link
Copy Markdown

Hi there, i just found out i can search via regex, which is great of course.
So i'm curious, is this feature documented in the docs somewhere ?

I couldn't find it. If not, should it be added?

Thank you!

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

Successfully merging this pull request may close these issues.

3 participants