Skip to content

Commit

Permalink
minor addition to the regex
Browse files Browse the repository at this point in the history
  • Loading branch information
chinonso098 committed Nov 27, 2023
1 parent 3988d72 commit ced486d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/system-apps/filemanager/filemanager.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ export class FilemanagerComponent implements OnInit, AfterViewInit, OnDestroy {
}

onInputChange(evt:any):boolean{
const regexStr = '^[a-zA-Z0-9_]+$';
const regexStr = '^[a-zA-Z0-9_.]+$';
const res = new RegExp(regexStr).test(evt.key)
if(res){
this.hideInvalidCharsToolTip();
Expand Down

0 comments on commit ced486d

Please sign in to comment.