lsr

ls with regexp

Download
Download

You are now following this Submission

Cite As

Christopher Pedersen (2026). lsr (https://www.mathworks.com/matlabcentral/fileexchange/46047-lsr), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.4.0

changed recursion of subfolders to use fileattrib instead of genpath
added -nomacfile to supress automatic use of -macfile option on mac OS systems

Download
1.3.0

Added a warning when trying to use a range of matches (e.g. \d{1,3} to catch 1-3 digits), as this does not parse properly in lsr.

Download
1.2.0

fixed bug where using -root and -path option together caused filenames to start with / or \

Download
1.1.0

changed -root to be an optional output
help updated for clarification.

Download
1.0.0

Download