Is there a grep-ish/search tool that'll automatically treat "This is a sentence" as "This\w+is\w+a\w+sentence", where \w is a unicode category for "all white and blank space including all forms of new lines"?

I feel like there's an option on grep or ripgrep or something I'm just... not catching on. I'm having a hard time searching documents in their raw form where there are arbitrary linebreaks in text for 80 column history reasons.

0

If you have a fediverse account, you can quote this note from your own instance. Search https://pony.social/users/thephd/statuses/116064563332272519 on your instance and quote it. (Note that quoting is not supported in Mastodon.)