1. this work:
Code:
if ($regex($1-,/.+? musiclist\S+ \[.+?\] \(.+?\) \(\*(\d+).+?\)$/iS))

2. this give error:
Code:
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:
Code:
bla bla random whatever musiclist...!!! [artist] (song whatever) (*77 list)

store captured digit 77 to $regml(1)