Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for p2 (0.21 sec)

  1. .cm/plugins/filters/byCodeowner/ignore/index.js

            // '*.js' doesn't match 'abc'
            (_, p1, p2) => {
                // 1.
                // > An asterisk "*" matches anything except a slash.
                // 2.
                // > Other consecutive asterisks are considered regular asterisks
                // > and will match according to the previous rules.
                const unescaped = p2.replace(/\\\*/g, '[^\\/]*')
                return p1 + unescaped
            }
    JavaScript
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 17.5K bytes
    - Viewed (0)
Back to top