Changeset 369 for trunk/src/xml2struct.m
- Timestamp:
- Jan 12, 2012, 7:48:00 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/xml2struct.m
r368 r369 24 24 end 25 25 case 'char' 26 if isempty(regexp(s,'^\d+$')) 26 27 if isempty(regexp(s,'^\d+\.*\d*$'))% if the string contains numerical characters and decimal . only 27 28 out=s; 28 29 else
Note: See TracChangeset
for help on using the changeset viewer.