Y
Hacker News
new
|
ask
|
show
|
jobs
by
DoreenMichele
2229 days ago
If you indent it two spaces, I think that should solve that problem:
*(`^#.$`), and others will interpret it as you have (`^#.?\n`)*
(Not sure where you intended those asterisks. I made my best inference.)
1 comments
eyelidlessness
2227 days ago
Yeah I was hoping to keep them inline, but indenting surely would have helped. I intended them after the dots (`.
*`, dot asterisk in case I get the escaping wrong, is 0 or more characters in regex).
link