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.

better regex support for watch mode filtering

See original GitHub issue

Do you want to request a feature or report a bug? bug

What is the current behavior? I have 2 files: class.spec.ts and isClass.spec.ts I want to filter by file (p) to run test is class.spec.ts only.

Currently ^class comes back to 0 matches.

What is the expected behavior? there should be a way to filter down to class.spec.ts only.

🌷

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
unionalcommented, Aug 10, 2018

Another case to improve upon:

Project located at .../projects/unite/def Project contains:

  • ./src/somefile.unit.js
  • ./src/otherfile.acceptance.js

When filter using p with unit, the otherfile.acceptance.js is also executed because it full path has “unit” in it: .../project/UNITe/def/src/otherfile.acceptance.js

0reactions
github-actions[bot]commented, Apr 27, 2022

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

watch mode regex is not working · Issue #9528 · facebook/jest
Press s to suspend watch mode. › Press t to filter by a test name regex pattern. › Press v to turn on...
Read more >
Search Console Introduces Regex Filters & More Digital ...
New Filtering in Google Search Console​​ Gone are the days of filtering URLs and queries by one string at a time. In addition...
Read more >
Regular Expression and Filter Bypass | CyberSecurityTV
Thank you for watching the video : Regular Expression and Filter Bypass | CyberSecurityTVRegular expressions are widely used in web ...
Read more >
Writing better Regular Expressions in PHP • PHP.Watch
PHP's filters and ctype functions provide validations such as URL, email, ... Here are some tips to improve and write better regular expressions...
Read more >
Use regular expressions in filters and automated rules
When you set up filters or automated rules, you use pattern matching to specify just the campaigns, ad groups, ads, or biddable items...
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