File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828* Renamed the internal ` _COMPILED ` regex pattern dictionaries to ` _PATTERNS ` for better clarity.
2929* Removed the import of the ` ProgressBar ` class from the ` __init__.py ` file, since it's not a standard class that should be imported directly.
3030* Renamed the constant ` CLR ` to ` CLI_COLORS ` and the constant ` HELP ` to ` CLI_HELP ` in the ` cli.help ` module.
31+ * Changed the default value of the ` strip_spaces ` param in ` Regex.brackets() ` from ` True ` to ` False ` , since this is more intuitive behavior.
3132
3233
3334<span id =" v1-9-1 " />
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ def brackets(
2727 bracket1 : str = "(" ,
2828 bracket2 : str = ")" ,
2929 is_group : bool = False ,
30- strip_spaces : bool = True ,
30+ strip_spaces : bool = False ,
3131 ignore_in_strings : bool = True ,
3232 ) -> str :
3333 """Matches everything inside pairs of brackets, including other nested brackets.\n
You can’t perform that action at this time.
0 commit comments