{"action":"created","issue":{"url":"https://api.github.com/repos/firasdib/Regex101/issues/410","labels_url":"https://api.github.com/repos/firasdib/Regex101/issues/410/labels{/name}","comments_url":"https://api.github.com/repos/firasdib/Regex101/issues/410/comments","events_url":"https://api.github.com/repos/firasdib/Regex101/issues/410/events","html_url":"https://github.com/firasdib/Regex101/issues/410","id":122142497,"number":410,"title":"Regular expression works in Regex101 but not in Python","user":{"login":"ipserc","id":8152376,"avatar_url":"https://avatars.githubusercontent.com/u/8152376?v=3","gravatar_id":"","url":"https://api.github.com/users/ipserc","html_url":"https://github.com/ipserc","followers_url":"https://api.github.com/users/ipserc/followers","following_url":"https://api.github.com/users/ipserc/following{/other_user}","gists_url":"https://api.github.com/users/ipserc/gists{/gist_id}","starred_url":"https://api.github.com/users/ipserc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipserc/subscriptions","organizations_url":"https://api.github.com/users/ipserc/orgs","repos_url":"https://api.github.com/users/ipserc/repos","events_url":"https://api.github.com/users/ipserc/events{/privacy}","received_events_url":"https://api.github.com/users/ipserc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-14T22:07:14Z","updated_at":"2015-12-14T22:34:56Z","closed_at":null,"body":"I'm having a problem with this regexp\r\n(L-V):([LMXJV,]+):DE +(\\d*:\\d*) +A +(\\d*:\\d*)(\\/| +Y +([LMXJV,]+):DE +(\\d*:\\d*) +A +(\\d*:\\d*))\r\n\r\nIt works in the web with the Python perspective. This is the text for using it. \r\nL-V:L,M,X,V:DE 08:30 A 14:30 Y J:DE 08:30 A 19:00/S:DESIN SERVICIO/Festivos:SIN SERVICIO\r\n\r\nBut in my code, it fails and doesn't match anything\r\n\r\n...\r\n        searchStr = \"(L-V):([LMXJV,]+):DE +(\\d*:\\d*) +A +(\\d*:\\d*)(\\/| +Y +([LMXJV,]+):DE +(\\d*:\\d*) +A +(\\d*:\\d*))\"\r\n       horarioStr = \"L-V:L,M,X,V:DE 08:30 A 14:30 Y J:DE 08:30 A 19:00/S:DESIN SERVICIO/Festivos:SIN SERVICIO\"\r\n        match = re.search(searchStr,horarioStr)\r\n        print(\"match.group(2)\" +  match.group(2)) # <- here crashes \r\n...\r\n\r\nAny suggestion?\r\n\r\nThanx in advance"},"comment":{"url":"https://api.github.com/repos/firasdib/Regex101/issues/comments/164581647","html_url":"https://github.com/firasdib/Regex101/issues/410#issuecomment-164581647","issue_url":"https://api.github.com/repos/firasdib/Regex101/issues/410","id":164581647,"user":{"login":"ipserc","id":8152376,"avatar_url":"https://avatars.githubusercontent.com/u/8152376?v=3","gravatar_id":"","url":"https://api.github.com/users/ipserc","html_url":"https://github.com/ipserc","followers_url":"https://api.github.com/users/ipserc/followers","following_url":"https://api.github.com/users/ipserc/following{/other_user}","gists_url":"https://api.github.com/users/ipserc/gists{/gist_id}","starred_url":"https://api.github.com/users/ipserc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipserc/subscriptions","organizations_url":"https://api.github.com/users/ipserc/orgs","repos_url":"https://api.github.com/users/ipserc/repos","events_url":"https://api.github.com/users/ipserc/events{/privacy}","received_events_url":"https://api.github.com/users/ipserc/received_events","type":"User","site_admin":false},"created_at":"2015-12-14T22:34:56Z","updated_at":"2015-12-14T22:34:56Z","body":"I'm very sorry, really, I've just noticed that the file from which I was loadind the lines has the Y i lowercase.\r\n\r\nThank you for your time and for answer me.\r\n\r\nSorry, \r\n"}}