Sample Header Ad - 728x90

Select files in ranger using ranger

1 vote
1 answer
225 views
I am a bit confused about using regex in ranger (Arch Linux). I have a folder of files that look like this:
'sometexthere - I. - sometexthere'
'sometexthere - II. - sometexthere'
'sometexthere - III. - sometexthere'
I want to select only the files with II. or III. in the middle. I have seen this post , and I have tried to mark all the files using mark and regex like so:
:mark * [II.|III.]*
which should match 'any characters' + 'space' + 'II.' or 'III.' + any character. However, it always selects all files including those with only one I. Can anyone help me out here? Cheers!
Asked by mor3dr3ad (51 rep)
Jun 21, 2024, 01:58 PM
Last activity: Jun 21, 2024, 10:46 PM