Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
maest
on Dec 15, 2020
|
parent
|
context
|
favorite
| on:
Gmail having issues
s#s/his/her#s/his/their# also works and avoids awkward escaping. The first symbol after s is used as the separator. Works in vim, at least.
In other words:
s%s/s\\/his\\/her/s\\/his\\/their/%s#s/his/her#s/his/their#%
monsieurbanana
on Dec 16, 2020
|
next
[–]
Did you just assume my regex engine is pcre gendered???
makeworld
on Dec 16, 2020
|
parent
|
next
[–]
Wow, I've never heard this joke before. Original and well-applied to the situation.
aaronmdjones
on Dec 16, 2020
|
prev
[–]
awkward escaping
Or as I've seen it called, "leaning toothpick syndrome".
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
In other words:
s%s/s\\/his\\/her/s\\/his\\/their/%s#s/his/her#s/his/their#%