ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Changeset 4548


Ignore:
Timestamp:
Nov 5, 2007, 9:10:22 PM (13 years ago)
Author:
ebihara
Message:

ワッジュ小窓の正規表現に誤りがあったのを修正

Location:
OpenPNE/trunk/public_html/cmd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/trunk/public_html/cmd/wajju.jp.js

    r4547 r4548  
    11//MASTER:wajju.jp.js SLAVE:www.wajju.jp.js
    22function url2cmd(url) {
    3     if (!url.match(/^http:\/\/www\.wajju\.jp\/clips\/[a-zA-Z0-9_-]+\/([a-zA-Z0-9_-]+)\/?$/)) {
     3    if (!url.match(/^http:\/\/www\.wajju\.jp\/clips\/[a-zA-Z0-9_\-]+\/([a-zA-Z0-9_\-]+)\/?$/)) {
    44  return;
    55    }
     
    99
    1010function main(clipid) {
    11     if (!clipid.match(/^[a-zA-Z0-9_-]+$/)) {
     11    if (!clipid.match(/^[a-zA-Z0-9_\-]+$/)) {
    1212  return;
    1313    }
  • OpenPNE/trunk/public_html/cmd/www.wajju.jp.js

    r4547 r4548  
    11//MASTER:wajju.jp.js SLAVE:www.wajju.jp.js
    22function url2cmd(url) {
    3     if (!url.match(/^http:\/\/(?:www\.|)wajju\.jp\/clips\/[a-zA-Z0-9_-]+\/([a-zA-Z0-9_-]+)\/?$/)) {
     3    if (!url.match(/^http:\/\/(?:www\.|)wajju\.jp\/clips\/[a-zA-Z0-9_\-]+\/([a-zA-Z0-9_\-]+)\/?$/)) {
    44        return;
    55    }
Note: See TracChangeset for help on using the changeset viewer.