diff --git a/bikeshed/shorthands/oldShorthands.py b/bikeshed/shorthands/oldShorthands.py index b6439f5cf2..d450400bf1 100644 --- a/bikeshed/shorthands/oldShorthands.py +++ b/bikeshed/shorthands/oldShorthands.py @@ -28,7 +28,7 @@ def transformProductionPlaceholders(doc: t.SpecT) -> None: r""" ^(?:(\S*)/)? (\S+) - \s*\[([^\]]+)\]\s*$ + \s*\[([^\]]*)\]\s*$ """, re.X, )