ctags-patterns-for-javascript icon indicating copy to clipboard operation
ctags-patterns-for-javascript copied to clipboard

Exuberant Ctags Patterns for JavaScript

Results 8 ctags-patterns-for-javascript issues
Sort by recently updated
recently updated
newest added

This works: ```javascript extractEmailsFromString(text, options = { isWrappedLessThanGreaterThan: false, }) { if (options.isWrappedLessThanGreaterThan) { return text.match(/()/gi); } return text.match(/([a-zA-Z0-9._-]+@[a-zA-Z0-9._-]+\.[a-zA-Z0-9_-]+)/gi); } ``` But this doesn't work: ```javascript extractEmailsFromString(text, options = {...

It looks like when assigning another variable to another it's not being recognised by `ctags`. Also when any string is set by back-tick, or set by string template, it's not...

In the regex for function definitions (specifically looked at arrow functions but could also apply to others, didn't look): ``` --regex-javascript=/^[ \t]*var[ \t]\{1,\}\([a-z_$][A-Za-z0-9_$]\{1,\}\)[ \t]*=.\{1,\}=>/\1/F,Function,Functions/b --regex-javascript=/^[ \t]*let[ \t]\{1,\}\([a-z_$][A-Za-z0-9_$]\{1,\}\)[ \t]*=.\{1,\}=>/\1/F,Function,Functions/b --regex-javascript=/^[ \t]*const[...

bug

The following function is not matched: ```javascript module.exports = function sum (a, b) { return a + b } ``` I've done a rule to match that case as a...

I'm pretty unfamiliar with the syntax for ctags regex and was wondering if there's a reason that the following wouldn't work? ```js export class Foo { // ... } ```...

This fixes #10, fyi @romainl @rkulla

Change the regex for shortand methods in object literals to allow space after the method name.