I assume there's more to it than just a colon followed by any amount of any non-whitespace characters.
I believe this is PDO specific, but if it is SQL specific, I am using Oracle SQL.
I'm trying to compose a regex to match all named parameters in a query, so I need the exact rules, eg, max length, allowed characters, does it have to start with an alphabet char, et cetera.
I was unable to find the answer on the manual pages for PDO::prepare, PDO::execute, or PDO::bindParam, or from a quick Google search.
A link to some kind of spec would be great, if anyone knows where to find it.