1674
you are viewing a single comment's thread
view the rest of the comments
[-] PlexSheep@infosec.pub 2 points 11 months ago* (last edited 11 months ago)

I give you that, true. I wish vim had PCRE

[-] ewenak@jlai.lu 0 points 11 months ago

There is the "very magic" mode for vim regexes. It's not the exact PCRE syntax, but it's pretty close. You only need to add \v before the expression to use it. There is no permanent mode / option though. (I think you can remap the commands, like / to /\v)

this post was submitted on 05 Mar 2025
1674 points (98.9% liked)

Programmer Humor

29083 readers
1404 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS