02.06.2013 Views

Pro PHP and jQuery by Jason Lengstorf.pdf - Computer Science ...

Pro PHP and jQuery by Jason Lengstorf.pdf - Computer Science ...

Pro PHP and jQuery by Jason Lengstorf.pdf - Computer Science ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

em {<br />

background-color: #FF0;<br />

border-top: 1px solid #000;<br />

border-bottom: 1px solid #000;<br />

}<br />

<br />

<br />

<br />

<br />

<br />

<br />

CHAPTER 9 ■ PERFORMING FORM VALIDATION WITH REGULAR EXPRESSIONS<br />

After reloading the page, you’ll see the characters highlighted (see Figure 9-5). You can achieve<br />

identical results using [abc], [bac], or any other combination of the characters because the class will<br />

match any one character from the class. Also, because you’re using the case-insensitive modifier (i), you<br />

321

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

Saved successfully!

Ooh no, something went wrong!