Timeline for RegEx to extract file paths from a logfile
Current License: CC BY-SA 4.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 2, 2022 at 6:34 | review | Close votes | |||
| Sep 9, 2022 at 3:05 | |||||
| Aug 23, 2022 at 8:17 | vote | accept | Scamus | ||
| Aug 22, 2022 at 13:41 | comment | added | Stéphane Chazelas | grep -Po '\d+/\d+/[\w-]+\.\w+' with GNU grep may or may not be enough, hard to tell with the very few requirements you give about what should and shouldn't be matched. | |
| Aug 22, 2022 at 13:18 | history | edited | AdminBee | CC BY-SA 4.0 | Minor formatting and rephrasing, add relevant tag |
| Aug 22, 2022 at 13:12 | answer | added | AdminBee | timeline score: 1 | |
| Aug 22, 2022 at 13:07 | comment | added | Kusalananda♦ | It would benefit your question to include some actual lines from the log file. I doubt that you will have to match the actual pathname, but that you instead could extract the pathnames based on other information in the log file. | |
| Aug 22, 2022 at 13:00 | history | edited | Scamus | CC BY-SA 4.0 | added 97 characters in body |
| Aug 22, 2022 at 12:47 | history | asked | Scamus | CC BY-SA 4.0 |