Comments (3)
Hi,
Can you please elaborate what you've changed precisely and why?
Also, if you'd like to contribute to the project, please sign the contributor license agreement.
Kind regards,
Joris Schellekens
from borb.
ubuntu server 18,
Python 3.6.9 (default, Jan 26 2021, 15:33:00)
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
import re
re.Match
Traceback (most recent call last):
File "", line 1, in
AttributeError: module 're' has no attribute 'Match'
i change re.Match to re.match
from borb.
The module is called re.match
, but the object is re.Match
.
As per the documentation:
https://docs.python.org/3/library/re.html
pattern = re.compile("d")
pattern.search("dog") # Match at index 0
<re.Match object; span=(0, 1), match='d'>
pattern.search("dog", 1) # No match; search doesn't include the "d"
Kind regards,
Joris Schellekens
from borb.
Related Issues (20)
- Watermark Feature Request HOT 3
- How to set OCG layerโs Locked state to True/False? HOT 1
- KeyError: 'OCGs' HOT 1
- BUG: `cryptography` and `lxml` dependencies not declared in setup.py HOT 1
- BUG: ImageExtraction not extracting all the images in pdf HOT 6
- BUG: Digits in OrderedList not scaled with `font_size` HOT 6
- BUG Inverted characters HOT 2
- Copying a font in a PDF using low-level syntax HOT 1
- Borb: Assertion Error // SimpleFindReplace() in canvas_stream_processor.py HOT 9
- BUG Simple Find Replace doesn't work HOT 2
- invisible text layer HOT 2
- loading a large PDF (around 100mb) is very slow HOT 1
- Need to get fonts and text and bounding boxes for each word in the document HOT 1
- New bug with SingleColumnLayoutWithOverflow HOT 1
- BUG HOT 1
- Turkish characters are not supported. HOT 6
- Multiple Column Layout HOT 1
- BUG PageDictionaryTransformer prints "reading page" HOT 2
- Documentation HOT 1
- CropBox 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 borb.