ProxymanApp / ProxymanApp/Proxyman
Breakpoint Rules with regEx-like abilities
@NghiaTranUIT is already working on this.
Since Jul 2, 2020.
- Dominant language
- No language data
- Stars
- 7k
- Forks
- 237
- PR merge metrics
- No merged PRs in 30d
Description
Proxyman Version: 2.0.1
Mac OS Version: 10.15.4 (catalina)
How to reproduce:
creating a breakpoint rule like *://rp-online.de/ with subdirectories excluded because this would trigger the breakpoint by nearly EVERY type of call (doc, css and js files, images, etc). But now you have to create a rule for EVERY page call you want to trigger the breakpoint.
Expected behavior
I suggest to implement a more specific regex like possibility to create a single rule that can handle a pattern of a URL to trigger the breakpoint. In my case *://rp-online.de/ triggers on the homepage wether it its http or https. but with a more specific regex like pattern it could trigger also:
*://rp-online.de/panorama/deutschland/drama-in-vorpommern-mann-rettet-kinder-aus-ostsee-und-ertrinkt-dann-selbst_aid-51976133
which means a URL with lots of slashes and predictable patterns at the end. I want these URL to trigger, but I don't want URLs to trigger the breakpoint when its a JS or CSS or a media file.
I do understand that a full fledged regex engine is a pain for performance. But eventually I could be something in between.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.