I need help decoding this regular expression from sprockets
-
30-10-2019 - |
Question
I need help decoding this regular expression from sprockets. I am not sure what this matches but if someone give give me some hints or starting points.
HEADER_PATTERN = /
\A (
(?m:\s*) (
(\/\* (?m:.*?) \*\/) |
(\#\#\# (?m:.*?) \#\#\#) |
(\/\/ .* \n?)+ |
(\# .* \n?)+
)
)+
/x
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow