11.12.2012 Views

JavaScript 2.0-The Complete Reference, Second ... - freecodingtutorial

JavaScript 2.0-The Complete Reference, Second ... - freecodingtutorial

JavaScript 2.0-The Complete Reference, Second ... - freecodingtutorial

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

functions and, 116–117<br />

objects and, 142–143<br />

passing as arguments to functions, 143–144<br />

referrer property, Document object, 388<br />

RegExp object. See also regular expressions<br />

compile( ) method, 204–205<br />

constructor, 42<br />

exec( ) method, 205–208<br />

instance properties, 208–209<br />

methods, 859<br />

overview of, 857–858<br />

properties, 858<br />

static properties, 209–211, 751<br />

subexpressions, 203–204<br />

test( ) method, 203<br />

regular expressions. See also RegExp object<br />

advanced, 214–217, 751<br />

alternatives, 202–203<br />

character classes, 198–202, 749–750<br />

conceptual overview, 192–193<br />

escape codes, 195–196, 750<br />

examples, 749<br />

flags, 749<br />

form validation and, 447–449<br />

grouping characters, 198<br />

in <strong>JavaScript</strong>, 193–194<br />

limitations of, 217–218<br />

literals, 738–739<br />

overview of, 42–43<br />

patterns, 194<br />

positional indicators, 194–195<br />

repetition quantifiers, 196–198, 749

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!