Changeset 1161
- Timestamp:
- 11/12/08 13:58:16 (2 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/jelix/utils/jIniFileModifier.class.php
r1091 r1161 74 74 $this->content[$currentSection][]=array(self::TK_COMMENT, $m[1]); 75 75 76 }else if(preg_match('/^(\s*\[([a-z0-9_.- ]+)\]\s*)/i', $line, $m)) {76 }else if(preg_match('/^(\s*\[([a-z0-9_.-@:]+)\]\s*)/i', $line, $m)) { 77 77 $currentSection = $m[2]; 78 78 $this->content[$currentSection]=array( trunk/testapp/modules/jelix_tests/tests/utils.jinifilemodifier.html_cli.php
r1091 r1161 93 93 truc=machin 94 94 95 [ot hersection]95 [ot:her@section] 96 96 truc=machin2 97 97 … … 110 110 array(jIniFileModifier::TK_WS, ""), 111 111 ), 112 'ot hersection'=>array(113 array(jIniFileModifier::TK_SECTION, "[ot hersection]"),112 'ot:her@section'=>array( 113 array(jIniFileModifier::TK_SECTION, "[ot:her@section]"), 114 114 array(jIniFileModifier::TK_VALUE, 'truc','machin2'), 115 115 array(jIniFileModifier::TK_WS, ""),
