Created
March 14, 2018 19:08
-
-
Save GiladShoham/bae2b15d62edf54fc254494b3537b872 to your computer and use it in GitHub Desktop.
stuck regex
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const jsdocRegex = /\/\*\*\s*\n([^*]*(\*[^/])?)*\*\//g; | |
| const str4 = '/**\n * Basic accordion component\n * @render react\n * @example\n **/'; | |
| str4.match(jsdocRegex); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment