Skip to content

Commit

Permalink
feat: add '_' as valid token around date in main readme listing
Browse files Browse the repository at this point in the history
It seems that auto formatting of markdown changes the actual '*' to '_'
which causes make docs to fail. This fixes the issue by updating the finder regexp
  • Loading branch information
the-forest-tree authored and the-forest-tree committed Oct 5, 2023
1 parent cbd945a commit 4374899
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hrflow_connectors/core/documentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def CONNECTOR_LISTING_REGEXP_F(name: str) -> str:
return (
r"\|\s*\[?\*{0,2}(?i:(?P<name>"
+ r" ?".join([c for c in name if c.strip()])
+ r"))\*{0,2}(\]\([^)]+\))?\s*\|[^|]+\|[^|]+\|\s*\*(?P<release_date>[\d\/]+)\*?\s*\|.+"
+ r"))\*{0,2}(\]\([^)]+\))?\s*\|[^|]+\|[^|]+\|\s*(\*|_)(?P<release_date>[\d\/]+)(\*|_)\s*\|.+"
)


Expand Down

0 comments on commit 4374899

Please sign in to comment.