(//.*)|(/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*/)
(//.*) → Matches single-line comments starting with //.
(//.*)
//
| → OR operator.
|
(/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*/) → Matches multi-line comments starting with /* and ending with */.
(/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*/)
/*
*/