Comments (4)
There can be any number of groups. You can use the "match group" to specify which one you want. In your case it should be '1' for the first group ('0' is the whole match).
from obtainium.
Found it!
By using -(\d+(\.\d+)*)-
as version extraction regexp, and just 1 as correspondance group, I was able to extract 1.9.25
. Thanks for your help! :-)
Any hint regarding the performance improvement?
Would using longer regexp (with static parts) be more efficient?
Ex:
sherpa-onnx-(\d+(\.\d+)*)-arm64-v8a-fr-tts-engine-vits-piper-fr_FR-upmc-medium
instead of
-(\d+(\.\d+)*)-
?
from obtainium.
… but there needs to be capture groups, right? The documentation never says anything about it, hence my confusion.
Otherwise, how can I define that I only want the 1.9.25
part of https://huggingface.co/csukuangfj/sherpa-onnx-apk/resolve/main/tts-engine-2/sherpa-onnx-1.9.25-arm64-v8a-fr-tts-engine-vits-piper-fr_FR-upmc-medium.apk
?
from obtainium.
I don't think there would be any significant performance issue.
from obtainium.
Related Issues (20)
- Obtainium should not check for new versions when there is no internet connection HOT 1
- [Feature request]: Add an option to support the F-Droid API to get the applications changes date HOT 2
- Impossible to add an App from a GIT repo? HOT 8
- Pull to refresh not possible with small app list HOT 3
- Adding F-Droid Third-Party Repo to "Add App" search HOT 2
- [UIX enhancement]: Apps name truncated, overlayed HOT 4
- Fail to pick the date from Kiwi browser GitHub release HOT 3
- Add topics (‘updater‘ & ‘obtainium‘) to repo HOT 1
- Option : Share with AppVerifier HOT 1
- Github releases with long list not showing all available apks HOT 4
- Request headers ignored for direct apk link HOT 1
- I can't import my JSON File anymore... HOT 1
- Two or more app in single repository HOT 3
- [Enhancement] Use apk name as version string HOT 2
- New source (vivo app store) HOT 2
- Supports HOT 2
- Don't download release asset without user confirmation HOT 13
- [UIX enhancement]: Remove unecessary data in the App version field HOT 10
- "Bad state: No element" HOT 1
- The translation of URL (which is probably URL in every language) in the F-Droid third party repo in the "Add app" tab is missing HOT 1
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 obtainium.