Changeset 22879
- Timestamp:
- 2013/06/24 11:22:34 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_13-dev/data/class/SC_CheckError.php
r22856 r22879 1169 1169 $prohibitedStr = str_replace(array('|', '/'), array('\|', '\/'), $value[2]); 1170 1170 1171 $pattern = '/' . join(' |', $prohibitedStr) . '/i';1171 $pattern = '/' . join('\b|\b', $prohibitedStr) . '\b/i'; 1172 1172 if (preg_match_all($pattern, $targetStr, $matches)) { 1173 1173 $this->arrErr[$value[1]] = '※ ' . $value[0] . 'は入力できません。<br />';
Note: See TracChangeset
for help on using the changeset viewer.