Changeset 20855


Ignore:
Timestamp:
2011/04/18 10:56:13 (10 years ago)
Author:
ghana
Message:

#1265
refs #1265
正規表現の再修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_11-dev/data/class/pages/admin/products/LC_Page_Admin_Products_UploadCSV.php

    r20846 r20855  
    300300            if($item['status'] == CSV_COLUMN_STATUS_FLG_DISABLE) continue; 
    301301            //サブクエリ構造の場合は AS名 を使用 
    302             if(preg_match_all('/\(.+\)[ ]*as[ ]*(.+)$/i', $item['col'], $match, PREG_SET_ORDER)) { 
     302            if(preg_match_all('/\(.+\)\s+as\s+(.+)$/i', $item['col'], $match, PREG_SET_ORDER)) { 
    303303                $col = $match[0][1]; 
    304304            }else{ 
Note: See TracChangeset for help on using the changeset viewer.