10 lines
136 B
JavaScript
10 lines
136 B
JavaScript
|
define( [
|
||
|
"../var/pnum"
|
||
|
], function( pnum ) {
|
||
|
|
||
|
"use strict";
|
||
|
|
||
|
return new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" );
|
||
|
|
||
|
} );
|