We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60c3efa commit ac4a2d9Copy full SHA for ac4a2d9
libs/community/langchain_community/chat_loaders/whatsapp.py
@@ -38,7 +38,7 @@ def __init__(self, path: str):
38
flags=re.IGNORECASE,
39
)
40
self._message_line_regex = re.compile(
41
- r"\u200E*\[?(\d{1,2}/\d{1,2}/\d{2,4}, \d{1,2}:\d{2}:\d{2} (?:AM|PM))\]?[ \u200E]*([^:]+): (.+)", # noqa
+ r"\u200E*\[?(\d{1,2}\/\d{1,2}\/\d{2,4}, \d{1,2}:\d{2}:\d{2}(?: AM| PM)?)\]?[ \u200E]*([^:]+): (.+)", # noqa
42
43
44
0 commit comments