Comments (3)
Hi,
Thanks for the report. If I had in customization.py keyword(), an optional argument named separator, is it satisfying?
from python-bibtexparser.
No, because the customization should support multiple characters.
Here's what I did in my version of the customization:
record["keyword"] = [i.strip() for i in re.split(';|,',
record["keyword"].replace('\n', ''))]
So I'm using re.split instead of str.split.
On 11/11/2013 03:18 AM, François Boulogne wrote:
Hi,
Thanks for the report. If I had in customization.py keyword(), an
optional argument named separator, is it satisfying?
Reply to this email directly or view it on GitHub
https://github.com/sciunto/python-bibtexparser/issues/8#issuecomment-28166656.
from python-bibtexparser.
I patched master accordingly and I added a unit test.
Thanks for reporting.
from python-bibtexparser.
Related Issues (20)
- Separator first names HOT 3
- Custom middleware HOT 3
- Errors in name-split HOT 3
- ✨ Nice way to handle enclosings for months while writing with the default stack HOT 1
- Suppress warnings HOT 3
- `DuplicateFieldKeyBlock.ignore_error_block` retains `{}` in field values HOT 4
- some suggestions from a first-time user HOT 1
- How to replace bp.bparser.BibTexParser() ? HOT 2
- Enclosing middleware fails for certain content HOT 3
- Use case sensitive entry type HOT 4
- Make behaviour entry closer to `dict`: check if field is present
- Default `allow_parallel_execution=True` HOT 3
- Discussion: closer `dict` mimicking `Entry` HOT 1
- Apply style using pre-commit HOT 1
- Normalize field keys (to lowercase) HOT 8
- docs: links to code not working
- docs: switch themes? HOT 4
- Error in latex_to_unicode
- split_multiple_persons_names() bug HOT 1
- More flexible handling of case sensitivity in all keys 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 python-bibtexparser.