linkification: only 1 level of balanced parens
This commit is contained in:
parent
62c81eb5eb
commit
089090d3c5
@ -30,10 +30,10 @@ Linkify =
|
|||||||
( # One or more:
|
( # One or more:
|
||||||
[^\s()<>]+ # Run of non-space, non-()<>
|
[^\s()<>]+ # Run of non-space, non-()<>
|
||||||
| # or
|
| # or
|
||||||
\(([^\s()<>]+|(\([^\s()<>]+\)))*\) # balanced parens, up to 2 levels
|
\([^\s()<>]+\) # balanced parens, up to 1 level
|
||||||
)+
|
)+
|
||||||
( # End with:
|
( # End with:
|
||||||
\(([^\s()<>]+|(\([^\s()<>]+\)))*\) # balanced parens, up to 2 levels
|
\([^\s()<>]+\) # balanced parens, up to 1 level
|
||||||
| # or
|
| # or
|
||||||
[^\s`!()\[\]{};:'".,<>?«»“”‘’] # not a space or one of these punct chars
|
[^\s`!()\[\]{};:'".,<>?«»“”‘’] # not a space or one of these punct chars
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user