Comments (11)
It's not important how such a tool would look: web based, console based, desktop based, etc.
It's important that exists in first place, as most users having existing regular expressions won't convert them to VerbalExpressions unless there's such a tool that can do the job.
from jsverbalexpressions.
For my existing files I would like to have a command line tool or a plug-in for VS, notepad++ or other IDEs to replace exisitng RegExpressions to VerbalExpressions. If we can have a web interface for quick solution that is also good.
from jsverbalexpressions.
Not at the time
from jsverbalexpressions.
@ahmadalibaloch regarding tot the duplicate issue:
Ihis is an interesting issue to tackle. How would you think you'd convert the existing regular expressions? I'd think of couple of ways:
- Command-line tool
- Web interface
What do you think?
from jsverbalexpressions.
I'd like to see a command line tool to do this, and if you have an existing tool that parses regexes then recasting them into verbal expressions should be straightforward.
from jsverbalexpressions.
A few assumptions:
- I'm going to hope we can that the tree generator in regexper-static can be adapted to build a VerbalExpressions call stack that reproduces the same output.
- I think we're talking about chaining methods, not instantiating objects? i.e. outputting a series of javascript calls instead of just parsing the regex to pre-populate the properties.
- If we're going with chaining methods, then for unit testing purposes I would think it's important to stress that if we take a VebalExpressions chain, convert it to a regex string, then back to a VerbalExpressions chain, producing an identical call stack is not required, only that the regex output is identical.
from jsverbalexpressions.
Hello,
Can I feed a regex pattern to verbal expressions, and get back the verbal express representation?
That would be nice, indeed.
from jsverbalexpressions.
Post-v2, this should be relatively easy with a library like regexp-tree since we could just map AST nodes to library methods.
from jsverbalexpressions.
+1 to this, want to be able to switch between a formula for power users and a verbal expression for every day use
from jsverbalexpressions.
Have you tried using ChatGPT? 3.5 seems to know the context pretty well, maybe 4 would be even better, especially if you could give the documentation as context 🤔
from jsverbalexpressions.
was kinda hoping to switch between the two programmatically but yes chatgpt seems to work
from jsverbalexpressions.
Related Issues (20)
- Non-capturing groups
- Lookaheads and lookbehinds HOT 2
- 'beginCapture' is not effect when 'or' HOT 1
- Support node.js 10+ HOT 2
- Functional rewrite HOT 9
- Docs examples for `multiple` HOT 1
- replace/format traditional HOT 2
- Support for non-greedy/lazy wildcards HOT 1
- Different test result between ES6 import VerEx and local VerEx
- Dependabot automerging package updades HOT 1
- State of JSVerbalexpressions HOT 1
- Your .dependabot/config.yml contained invalid details HOT 1
- SyntaxError: unterminated parenthetical HOT 1
- References to other similar projects HOT 4
- JS 001 HOT 2
- Dependabot can't resolve your JavaScript dependency files
- Not able to create expressions for OR and AND type statements
- Move away from Grunt
- 1 HOT 1
- "Range out of order in character class" when trying to match common operators
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 jsverbalexpressions.