$identifier = qr/(? \w+($brackets)?( \s*(\.|->)(?&identifi +er))?)/; #### (?^:((?^:(? \w+... (etc) #### \w+