mirror of https://github.com/Textualize/rich.git
added file
This commit is contained in:
parent
e9e4bee4af
commit
53372f65db
|
@ -13,6 +13,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
- Fixed superfluous new line in Status https://github.com/willmcgugan/rich/issues/1662
|
||||
- Fixed infinite loop in set_cell_size https://github.com/willmcgugan/rich/issues/1682
|
||||
|
||||
### Added
|
||||
|
||||
- Added file protocol to URL highlighter https://github.com/willmcgugan/rich/issues/1681
|
||||
|
||||
## [10.13.0] - 2021-11-07
|
||||
|
||||
### Added
|
||||
|
|
|
@ -96,7 +96,7 @@ class ReprHighlighter(RegexHighlighter):
|
|||
r"(?P<path>\B(\/[\w\.\-\_\+]+)*\/)(?P<filename>[\w\.\-\_\+]*)?",
|
||||
r"(?<![\\\w])(?P<str>b?\'\'\'.*?(?<!\\)\'\'\'|b?\'.*?(?<!\\)\'|b?\"\"\".*?(?<!\\)\"\"\"|b?\".*?(?<!\\)\")",
|
||||
r"(?P<uuid>[a-fA-F0-9]{8}\-[a-fA-F0-9]{4}\-[a-fA-F0-9]{4}\-[a-fA-F0-9]{4}\-[a-fA-F0-9]{12})",
|
||||
r"(?P<url>(https|http|ws|wss):\/\/[0-9a-zA-Z\$\-\_\+\!`\(\)\,\.\?\/\;\:\&\=\%\#]*)",
|
||||
r"(?P<url>(file|https|http|ws|wss):\/\/[0-9a-zA-Z\$\-\_\+\!`\(\)\,\.\?\/\;\:\&\=\%\#]*)",
|
||||
),
|
||||
]
|
||||
|
||||
|
|
Loading…
Reference in New Issue