kestra-io / plugin-fs

https://kestra.io/plugins/plugin-fs/
Apache License 2.0
6 stars 7 forks source link

Standard regex fails with white space #109

Open Ben8t opened 7 months ago

Ben8t commented 7 months ago

Expected Behavior

No response

Actual Behaviour

The following regex .*test Test_nbs_issuers_.+.csv should match on this string "test Test_nbs_issuers_YYYYMMDD.csv" but the white space seems to cause an issue using the regEx property.

id: regex
namespace: dev

tasks:
  - id: fs
    host: localhost
    port: 21
    username: foo
    password: pass
    type: io.kestra.plugin.fs.ftp.List
    from: "/folder"
    regExp: .*test Test_nbs_issuers_.+.csv

Steps To Reproduce

No response

Environment Information

Example flow

No response