Comments (4)
from one-more-re-nightmare.
I probably should implement disjoint character ranges, sure. But Unicode/POSIX character classes are tricky to implement, as they are huge unions of disjoint sets, which would not be wise to inline, as is done now. Such large sets should probably be stored in a kind of compressed bitmap, but I haven't thought it out yet. The compiler also has to reason about those sets too, which could get slow.
from one-more-re-nightmare.
Disjoint character ranges are implemented in 6d179cb; I'll still need a while to figure out a good way to handle large character classes.
from one-more-re-nightmare.
https://github.com/telekons/one-more-re-nightmare/wiki/Representing-character-classes has a sketch of how character classes may be represented.
from one-more-re-nightmare.
Related Issues (15)
- Customise prefix code generation HOT 2
- Compiler objects HOT 1
- Unbreak submatching HOT 13
- Tiered compilation
- Lint regular expressions HOT 1
- CL-PPCRE compatible functions HOT 1
- Runtime feedback for SIMD and repetition HOT 1
- Include in quicklisp HOT 4
- Match start and end of string HOT 5
- Some systems failed to build for Quicklisp dist HOT 1
- Shorter package nickname?
- Equivalent of ? and {n,m} for POSIX ERE feature parity HOT 2
- Matching problems with `[0-9][0-9]` HOT 1
- Make character ranges inclusive HOT 3
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 one-more-re-nightmare.