1. this work:
if ($regex($1-,/.+? musiclist\S+ \[.+?\] \(.+?\) \(\*(\d+).+?\)$/iS))
2. this give error:
if ($regex($1-,/.+? musiclist\S+ \[[^\]]+\] \([^\)]+\) \(\*(\d+)[^\)]+\)$/iS))
can someone help me with the regexp #2, throw an error /if: invalid format (line, script), do i need to escape chr or space something?
The test text:
bla bla random whatever musiclist...!!! [artist] (song whatever) (*77 list)
store captured digit 77 to $regml(1)