Changeset 4855 for OpenPNE/trunk
- Timestamp:
- Dec 26, 2007, 8:10:04 PM (15 years ago)
- Location:
- OpenPNE/trunk/public_html/cmd
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
OpenPNE/trunk/public_html/cmd/amazon.co.jp.js
r4846 r4855 11 11 function url2cmd(url) 12 12 { 13 var match = url.match(/ ^.*(?:ASIN|product|dp)\/([^\/]+)(?:\/.*)*$/);13 var match = url.match(/(?:ASIN|product|dp)\/([^\/]+)(?:\/.*)*$/i); 14 14 15 15 if (match) { -
OpenPNE/trunk/public_html/cmd/www.amazon.co.jp.js
r4846 r4855 11 11 function url2cmd(url) 12 12 { 13 var match = url.match(/ ^.*(?:ASIN|product|dp)\/([^\/]+)(?:\/.*)*$/);13 var match = url.match(/(?:ASIN|product|dp)\/([^\/]+)(?:\/.*)*$/i); 14 14 15 15 if (match) {
Note: See TracChangeset
for help on using the changeset viewer.