Ignore:
Timestamp:
Dec 11, 2017, 1:15:03 AM (3 years ago)
Author:
sommeria
Message:

opendap reading intreoduced

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/fileparts_uvmat.m

    r977 r1022  
    138138        RootFile=regexprep(RootFile,[r.num1 r.end_string '$'],'');
    139139    else % case with separator '_'
    140         r=regexp(RootFile,'\D(?<num1>\d+)_(?<end_string>[a-z]|[A-Z]|[a-z][a-z]|[A-Z][A-Z])$','names');
     140        r=regexp(RootFile,'\D*(?<num1>\d+)_(?<end_string>[a-z]|[A-Z]|[a-z][a-z]|[A-Z][A-Z])$','names');
    141141        if ~isempty(r)
    142142            NomType=['_' get_type(r.end_string)];
Note: See TracChangeset for help on using the changeset viewer.