lost+found/src/pattern.js
function (char) {
                var
                    parsedItem = this._lastItem();
                if ("*" === char) {
                    parsedItem._min = 0;
                    parsedItem._max = 0;
                } else if ("+" === char) {
                    parsedItem._max = 0;
                } else if ("?" === char) {
                    parsedItem._min = 0;
                }
                return PatternItem.PARSE_PROCESSED;
            }
function (char) {
                var
                    parsedItem = this._lastItem();
                if ("*" === char) {
                    parsedItem._min = 0;
                    parsedItem._max = 0;
                } else if ("+" === char) {
                    parsedItem._max = 0;
                } else if ("?" === char) {
                    parsedItem._min = 0;
                }
                return PatternItem.PARSE_PROCESSED;
            }
function ( char ) { var parsedItem = this . _lastItem ( ) ; if ( "*" === char ) { parsedItem . _min = 0 ; parsedItem . _max = 0 ; } else if ( "+" === char ) { parsedItem . _max = 0 ; } else if ( "?" === char ) { parsedItem . _min = 0 ; } return PatternItem . PARSE_PROCESSED ; }
Reduce the cyclomatic complexity of parse
Process quantification char

@param {String} char
@return {Number}
@private
Reduce the cyclomatic complexity of parse Process quantification char