Comments (2)
"filenameFromRegexp": ".*\.pdf$|.*\.PDF$"
from gmail-processor.
@sactyr Gmail2Gdrive did not support passing regex modifier flags in the config.
Please migrate to it's successor Gmail Processor which added support for this feature in release v2.4.0.
In your case the relevant matching config would look like this:
"match": {
"name": "(?i)\\.pdf$"
}
Also note, that Gmail Processor provides a lot more features like capturing multiple parts of the string and using them to construct the file location in GDrive.
from gmail-processor.
Related Issues (20)
- TypeError: Cannot read properties of null (reading 'match') on messages with empty subject
- Shared GDrive parent folder in location argument being ignored when automatically converted from v1 HOT 9
- EnvContext (ctx) in the timer-driven event triggers is not as the library expected HOT 1
- fixed filename date offset for attachments HOT 5
- saving files from URLs in emails HOT 5
- Error when switching from MARK_MESSAGE_READ to ADD_THREAD_LABEL in GmailProcessorLib HOT 5
- Getting started | Syntax error: SyntaxError: Unexpected token HOT 2
- Dependency Dashboard
- custom placeholder from PDF OCR HOT 4
- Issue with forwarding email HOT 2
- custom date in placeholder / lastDayOfMonth HOT 1
- conflictStrategy: update fails HOT 1
- Invalid argument: label HOT 8
- One email gets handled as a multiple HOT 1
- `Mail from` column with `message.from` value in Google sheets HOT 1
- Action attachment.store fails with TypeError HOT 1
- Use custom date format for parsing date values
- Processing order HOT 8
- Errors when attempting to pull threads from 3+ years ago HOT 1
- PDF password removal HOT 9
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 gmail-processor.