Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE2 (PHP >=7.3)

/
\/\*[.\t\r\f\v \S]*\*\/|^[\t\r\f\v ]*\/\/.*
/
gm

Description

Finds comments in Kotlin but not inline comments

Submitted by anonymous - 6 months ago