web stats
Download | Support | Contact
Mirth Corporation
  • Home
  • Products
    • Mirth Connect
    • Mirth Results
    • Mirth Match
    • Mirth Mail
    • Mirth Care
    • Mirth Appliances
    • Mirth Virtual Appliances
    • Mirth Hosted Appliances
  • Services
    • Support
    • Training
    • Consulting
  • Solutions
    • HIEs
    • Hospitals
    • Clinics
    • Laboratories
    • Radiology
    • Vendors
    • Government
  • Community
    • Forums
    • Wiki
    • Issues
    • Source Code
    • Mirth Exchange
    • IRC
    • FAQs
    • Contribute
    • Registration
    • Downloads
  • Company
    • About
    • Mission and Vision
    • Testimonials
    • News
    • Employment Opportunities
    • Contact

Mirth Project

  • Log In Access more options
    • Online Help
    • GreenHopper Help
    • Agile Answers
    • Use Agile By Default
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Agile
  • Mirth Connect
  • MIRTH-722

Allow regex in "Filename Filter Pattern" field on Source tab for File Reader

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: New Feature New Feature
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.8.0
  • Fix Version/s: 1.8.2
  • Component/s: Administrator, Server
  • Labels:
    None
  • Environment:
    All

Description

albertosaez asked me to add this issue.

It would be useful if the "Filename Filter Pattern" field on the Source tab would accept full regex patterns. This would allow people to use one channel to process files with different filename patterns instead of creating a duplicate channel or using a source filter which is less efficient.

Thanks!

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
  • Source
Hide
Permalink
Jacob Brauer added a comment - 12/Sep/08 11:12 AM
MIRTH-567

You can use a delimited list separated by commas. See Mule's WildcardFilter.java:

    public void setPattern(String pattern)
    {
        this.pattern = pattern;
        this.patterns = Utility.split(pattern, ",");
    }
Show
Jacob Brauer added a comment - 12/Sep/08 11:12 AM MIRTH-567 You can use a delimited list separated by commas. See Mule's WildcardFilter.java:     public void setPattern(String pattern)     {         this.pattern = pattern;         this.patterns = Utility.split(pattern, ",");     }
Hide
Permalink
Gerald Bortis added a comment - 12/Sep/08 11:15 AM
1. Add an option on the Filename Pattern field named "Regular Expression"
2. If the option is checked, use the Pattern/Matcher on the filters rather than wildcard matching
Show
Gerald Bortis added a comment - 12/Sep/08 11:15 AM 1. Add an option on the Filename Pattern field named "Regular Expression" 2. If the option is checked, use the Pattern/Matcher on the filters rather than wildcard matching
Hide
Permalink
Jacob Brauer added a comment - 10/Sep/09 11:16 AM
See this regex implementation: http://jakarta.apache.org/oro/api/org/apache/oro/io/RegexFilenameFilter.html
Show
Jacob Brauer added a comment - 10/Sep/09 11:16 AM See this regex implementation: http://jakarta.apache.org/oro/api/org/apache/oro/io/RegexFilenameFilter.html

People

  • Assignee:
    Gerald Bortis
    Reporter:
    Gerald Bortis
Vote (0)
Watch (0)

Dates

  • Created:
    22/Jan/08 9:58 AM
    Updated:
    10/Nov/10 11:10 AM
    Resolved:
    15/Sep/09 3:44 PM
  • Atlassian JIRA (v5.0.3#729-sha1:bf569e4)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Mirth Corporation. Try JIRA - bug tracking software for your team.