正在加载图片...
正则表达式的应用 Use #3: Program processing especially on the web OntheWebprocedurecalls=httprequests procedure arguments"passed as strings argument extraction can be done with regular expressions · Other uses: extract components of an email address obfuscation: want to obfuscate all JS functions except those called from HTML embedded scripts; so scan web page for names of functions called from HTMl, to avoid obfuscating them正则表达式的应用 • Use #3: Program processing – especially on the web • On the Web, procedure calls = http requests – “procedure arguments” passed as strings – argument extraction can be done with regular expressions • Other uses: – extract components of an email address – obfuscation: want to obfuscate all JS functions except those called from HTML embedded scripts; so scan web page for names of functions called from HTML, to avoid obfuscating them. 4
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有