in reply to Re: string selection from a character class
in thread string selection from a character class

You don't need character classes for that:

m/ (\d+) \s t= (\S+) /xms

This allows one t=something string, if you want multiple, you could do something like this:

m/ (\d+) (?: \s t= (\S+) ) /xms