web-wiki/resources/mediawiki/mediawiki.jqueryMsg.js
// must succeed a minimum of n times or return null

must succeed a minimum of n times or return null
must succeed a minimum of n times or return null
function nOrMore( n, p ) {
				return function() {
					var originalPos = pos;
					var result = [];
					var parsed = p();
					while ( parsed !== null ) {
						result.push( parsed );
						parsed = p();
					}
					if ( result.length < n ) {
						pos = originalPos;
						return null;
					} 
					return result;
				};
			}
function nOrMore ( n , p ) { return function ( ) { var originalPos = pos ; var result = [ ] ; var parsed = p ( ) ; while ( parsed !== null ) { result . push ( parsed ) ; parsed = p ( ) ; } if ( result . length < n ) { pos = originalPos ; return null ; } return result ; } ; }
must succeed a minimum of n times or return null
must succeed a minimum of n times or return null