Comments (3)
from stig.
Sometimes I'm a little bit dense, but the bit that in theory covers regex would be this one?
Besides the usual operators (=, !=, >, <, >=, <=), "~" matches if the item's value contains the
literal string VALUE and "=~" matches if the item's value matches against the Perl-style regular
expression VALUE.
Example: "name~foo" matches all torrents with "foo" in their name.
Just asking because I've read a few times that help
before opening another issue but maybe I missinterpreted it. Should I go to Perl docs in search of more examples then?
Edit: I'm trying to use it from the inside prompt on an empty tab but I don't think I'm typing it the right way. How would it be from the inside? I don't really use stig from outside itself because my remote instance has password and stuff.
Edit 2: Do you mind if I ask for a little more clarification? I've managed to make the filter work with :list name=~'\\d01-\\d00'
and :list name=~'Name \\d01-\\d00'
but I'm not entirely sure I got the hand of it, because if I need to seek something that is not exactly Name
I don't know how to tell the command "Name
, Anything after Name
and then \\d01-\\d00
"
Edit 3: Sorry for so many edits, seems like all in all, it was my regex skills, although I still think, to my taste, that a quick regex example could be added to filtermanual
for brick-dense users like me. Made it work with :list name=~'.\\d01-\\d00'
from stig.
from stig.
Related Issues (20)
- asynctest library is not compatible with Python 3.8 and above HOT 1
- [Question] Is there any way to disable the top bar. HOT 2
- searching with special characters fails to return results HOT 3
- stig barfs on too-long magnet links. HOT 2
- [Feature request] Remote file systems (tab completion when moving torrents, fopen) HOT 2
- How can I force stig to show column headers and fancy formatting? HOT 1
- FAILED tests/completion_test/classes_test.py::TestCandidates::test_candidates_are_sorted_case_insensitively HOT 9
- Add sleep/timer/delay option for commands HOT 3
- Crash when deleting multiple torrents with data HOT 3
- How to reset torrent settings so that it uses global settings? HOT 7
- Stig not deleting torrent data when using rm -d HOT 5
- Filter torrents by the Private flag in CLI HOT 2
- Whatch-dir or the ability to use magnet links ? HOT 1
- urwid modifications license HOT 4
- Soulseek Support HOT 1
- Display torrents added recently by relative time measurement HOT 4
- unit test error when trying to package with pypi-install HOT 2
- Adding torrent files en masse? HOT 5
- Python 3.11 HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stig.