question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Configuration type option regex support

See original GitHub issue

I think it would be helpful to add regex support to type option in configuration, Example:

"types": [
            {
                "type": "feat",
                "section": "Features"
            },
            {
                "type": "fix",
                "section": "Bug Fixes"
            },
            {
                "type": "regexPattern",
                "section": "Custom Section"
            }
        ]

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

3reactions
bcoecommented, May 16, 2019

@farzadso seems like a reasonable use-case 👍

1reaction
mrastiakcommented, May 19, 2019

@bcoe You are right mocha does support regex: https://mochajs.org/#-grep-regexp-g-regexp,

Cause Mocha to only run tests matching the given regexp, which is internally compiled to a RegExp.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Options for regular expression | Microsoft Learn
Learn how to use regular expression options in .NET, such as case-insensitive matching, multiline mode, and right-to-left mode.
Read more >
Regular expression support | Filebeat Reference [8.5] - Elastic
Filebeat regular expression support is based on RE2. Filebeat has several configuration options that accept regular expressions.
Read more >
regex - Functions - Configuration Language | Terraform
The regex function applies a regular expression to a string and returns the matching substrings.
Read more >
RegEx Tool | Alteryx Help
Configure the Tool. Select the Column to Parse. In Format to Convert... Enter your Regular Expression. Use the "+" button to access common ......
Read more >
Regular expression (regex) reference - Pexip Infinity Docs
Character Description Example . Matches any single character. a.c matches aac, abc, azc, a2c, a$c e... \d Matches a decimal digit character (i.e. 0‑9). a\d...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found