Closed kla587 closed 8 years ago
Ran into issues parsing the outputted maven file, entitled mvn.txt.
Code that ran in RegEx101 and matched correctly: [^ ]+-\s+(\S+)(\n?|?\s+?.\n?|?\s+?.)
Seemed to be having issues with the [^] to denote to look at the start of the line in Perl.
Reworked pasre using RegExr instead of RegEx101 to get three levels successfully.
level 1 [^ ]+-\s+(\S+) level 2 [^ ]|\s\s-\s(\S+) or [^ ]|\s\s+-\s(\S+) level 3 [^ ]|\s\s|\s+.*?\s(\S+)
Ran into issues parsing the outputted maven file, entitled mvn.txt.
Code that ran in RegEx101 and matched correctly: [^ ]+-\s+(\S+)(\n?|?\s+?.\n?|?\s+?.)
Seemed to be having issues with the [^] to denote to look at the start of the line in Perl.