|
Blue Forest http://www.lslnet.com at 8:28 on August 25, 2006
[ASP in doubt -- this is how?
"Script language=" Javascript ""
Function getlrc (str)
{
Leng=0;
Gc=str.match (/\n\[\d+ :. +\][^\[\r\n]*/ig);
For (var i=0;i<gc.length;i++)
{
Var gctimes=/\[ (. +) \].*/.exec (Gc[i]) [1].split ( "[");
Leng+=gctimes.length;
}
}
"/script> |
Now, you do not know of no useful
-----------------------------------------------------------------------------------------
Matching a blank row.
JScript /^\[ \t]*$/
VBScript "^\[ \t]*$"
------------------------------------------------------------------------------------------------------
Whether a certification by a two-digit ID number, a hyphen and a five digits.
JScript /\d{2}-\d{5}/
VBScript "\d{2}-\d{5}"
--------------------------------------------------------------------------------------------------------
Matching an HTML tag.
Kyoto JScript (. *) ".*<\/\1>/
VBScript "" (. *) ".*<\/\1>" |
|