Comments (3)
Regex will be something like:
for filter in re.split(r'(?<!,),', filters):
from elm.
+ #split filters by commas except if they're proceeded by a backslash
+ for filter in re.split(r'[^\\],', filters):
+ #now remove the backslash we used to protect the comma from split above
+ filter = filter.replace('\\,',',')
from elm.
Closing, resolved with commit b34d743
from elm.
Related Issues (20)
- Add rate limiting HOT 2
- requests.exceptions.HTTPError is not handled HOT 2
- Issues with regex in make file HOT 1
- Add command line completion HOT 1
- Local install so it's in the path HOT 1
- -o should be output filename for compatibility with gnu make
- add markdown format
- add jira output format
- Add rst format
- combining multiple filters doesn't work
- enforce perms of config file HOT 1
- Both "no data" and "size limit" errors are displayed
- add a 'no-head' option
- python virtual environment
- Name conflicts with the email client 'elm'
- narrow tables with just Ids change to scientific notation
- FileNotFoundError when dir doesn't exist
- Stuck at make for elm - does not find jinja2 HOT 5
- Multiple filters aren't parsed correctly, text truncated 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 elm.