Comments (4)
See http://stackoverflow.com/a/1396228/2578205
from torrentautomator.
Examples:
Download 1
Download 1,2,3
Download 1, 2, 3
Download 1,2, 3.
from torrentautomator.
See http://stackoverflow.com/a/1396097/2578205 and http://regexlib.com/%28A%281Kf-qEyF95abkct9HHwJTwFo5beRk64RH7AVZ6Ix4yZstEVclQJdrTcWlWiRiP4_1Y5vbvcNpiVMdnQ79hy2ATpNOvkMobQa7ItsT1krlAo1%29%29/REDetails.aspx?regexp_id=621
from torrentautomator.
Instead of using an all-powerful Regex complete, I am going to use a Regex for matching and selecting the number list part of the query message:
^[dD]ownload ((?:\d+\s*,\s*)*(?:\d+)).*$
For example, Download 1, 2, 3, 4,5,6 , 7
returns matched 1, 2, 3, 4,5,6 , 7
.
Then split on ,
(comma) and parseInt
on all of the items.
from torrentautomator.
Related Issues (20)
- Movie Recommendations
- Unit Tests and Travis CI HOT 1
- IRC client support
- Setup and Configure with Web Admin interface HOT 3
- CLI app & reusable library
- Download every episode in season of a TV show HOT 3
- Use pretty-bytes to convert bytes in number to human-readable string
- EZTV provider HOT 1
- Complex organizing of TV Shows HOT 6
- Leading spaces causes command not found HOT 1
- YIFY Provider HOT 1
- Support long running async replies to SMS (Twilio) HOT 1
- Add `help` command HOT 4
- Add "Next" or "More" command to show more search results HOT 1
- Changelog
- Mount network drive and install Transmission HOT 3
- Optimize Dockerfile HOT 4
- Slack integration
- [Solved]Add torrent problem HOT 1
- Rewrite with latest Feathers, ES6, more modular
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 torrentautomator.