Skip to content
This repository has been archived by the owner on Jan 17, 2018. It is now read-only.

Pretty code #43

Open
rottmann opened this issue Jan 29, 2013 · 0 comments
Open

Pretty code #43

rottmann opened this issue Jan 29, 2013 · 0 comments

Comments

@rottmann
Copy link

A formated source of an regexp with your comments would be nice, so it can be copied direct into a js-file.

Example:

\/\/#[\[\(]hi world[\]\)]\/\/#[\[\(]test[\]\)]

output (for js):

'\/\/#'
+ '[\[\(]' // One of: "[", "("
+ 'hi world'
+ '[\]\)]' // One of: "]", ")"
+ '\/\/#'
+ '[\[\(]' // One of: "[", "("
+ 'test'
+ '[\]\)]'; // One of: "]", ")"

Same comments you use in your graphic.

Or exists a fork with that?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant