WORKAROUND #1:
Use new q quote characters. For example, change... `q'[ 'R[[:alnum:]]{5}' ]'` to `q'< 'R[[:alnum:]]{5}' >'`
In this case, ] is followed by a '. Something like this would also fail... `q'< 'R[[:alnum:>>{5}' >'` but this would work... `q'[ 'R[[:alnum:>>{5}' ]'`
WORKAROUND #2:
Compile using F5
WORKAROUND #3:
Send SQL to SQL Plus to be compiled.
STATUS:
This issue is fixed in Toad for Oracle 13.1. This version can be downloaded from the downloads section of our website, which you can access by clicking here.