https://github.com/konard/regexinferer
https://github.com/konard/regexinferer
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/konard/regexinferer
- Owner: Konard
- License: gpl-3.0
- Created: 2020-01-20T16:31:36.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-01-20T16:34:08.000Z (over 5 years ago)
- Last Synced: 2025-02-11T12:44:46.151Z (3 months ago)
- Language: C#
- Size: 20.5 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RegexInferer
## Inference
...
## Simplification
Before:
```
href|target|rel|media|hreflang|type|sizes|content|name|src|charset|text|cite|ping|alt|sandbox|width|height|data|value|poster|coords|shape|scope|action|enctype|method|accept|max|min|pattern|placeholder|step|label|wrap|icon|radiogroup
```After:
```
href(lang)?|(targe|tex|al|accep|heigh)t|rel|radiogroup|m(edia|ethod|ax|in)|s(izes|rc|andbox|tep|hape|cope)|c(ontent|harset|ite|oords)|name|p(ing|oster|attern|laceholder)|action|icon|width|wrap|data|value|(enc)?type|label
```### Do not worth it:
```
oo
o{2}
``````
action|icon
(acti|ic)on
``````
target|type
t(arget|ype)
``````
target|type|text
t(arget|ype|ext)
```### Can be used:
```
media|method|max|min
m(edia|ethod|ax|in)
``````
href|hreflang
href(lang)?
``````
enctype|type
(enc)?type
```