source: trip-planner-front/node_modules/regex-parser/README.md@ e29cc2e

Last change on this file since e29cc2e was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 4.5 KB
Line 
1<!-- Please do not edit this file. Edit the `blah` field in the `package.json` instead. If in doubt, open an issue. -->
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20# regex-parser
21
22 [![Support me on Patreon][badge_patreon]][patreon] [![Buy me a book][badge_amazon]][amazon] [![PayPal][badge_paypal_donate]][paypal-donations] [![Ask me anything](https://img.shields.io/badge/ask%20me-anything-1abc9c.svg)](https://github.com/IonicaBizau/ama) [![Version](https://img.shields.io/npm/v/regex-parser.svg)](https://www.npmjs.com/package/regex-parser) [![Downloads](https://img.shields.io/npm/dt/regex-parser.svg)](https://www.npmjs.com/package/regex-parser) [![Get help on Codementor](https://cdn.codementor.io/badges/get_help_github.svg)](https://www.codementor.io/johnnyb?utm_source=github&utm_medium=button&utm_term=johnnyb&utm_campaign=github)
23
24<a href="https://www.buymeacoffee.com/H96WwChMy" target="_blank"><img src="https://www.buymeacoffee.com/assets/img/custom_images/yellow_img.png" alt="Buy Me A Coffee"></a>
25
26
27
28
29
30
31
32> A module that parses a string as regular expression and returns the parsed value.
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50## :cloud: Installation
51
52```sh
53# Using npm
54npm install --save regex-parser
55
56# Using yarn
57yarn add regex-parser
58```
59
60
61
62
63
64
65
66
67
68
69
70
71
72## :clipboard: Example
73
74
75
76```js
77// Dependencies
78var RegexParser = require("regex-parser");
79
80console.log(RegexParser("/^hi$/g"));
81// => /^hi$/g
82```
83
84
85
86
87
88
89
90
91
92
93
94## :question: Get Help
95
96There are few ways to get help:
97
98
99
100 1. Please [post questions on Stack Overflow](https://stackoverflow.com/questions/ask). You can open issues with questions, as long you add a link to your Stack Overflow question.
101 2. For bug reports and feature requests, open issues. :bug:
102 3. For direct and quick help, you can [use Codementor](https://www.codementor.io/johnnyb). :rocket:
103
104
105
106
107
108## :memo: Documentation
109
110
111### `RegexParser(input)`
112Parses a string input.
113
114#### Params
115
116- **String** `input`: The string input that should be parsed as regular expression.
117
118#### Return
119- **RegExp** The parsed regular expression.
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134## :yum: How to contribute
135Have an idea? Found a bug? See [how to contribute][contributing].
136
137
138## :sparkling_heart: Support my projects
139I open-source almost everything I can, and I try to reply to everyone needing help using these projects. Obviously,
140this takes time. You can integrate and use these projects in your applications *for free*! You can even change the source code and redistribute (even resell it).
141
142However, if you get some profit from this or just want to encourage me to continue creating stuff, there are few ways you can do it:
143
144
145 - Starring and sharing the projects you like :rocket:
146 - [![Buy me a book][badge_amazon]][amazon]—I love books! I will remember you after years if you buy me one. :grin: :book:
147 - [![PayPal][badge_paypal]][paypal-donations]—You can make one-time donations via PayPal. I'll probably buy a ~~coffee~~ tea. :tea:
148 - [![Support me on Patreon][badge_patreon]][patreon]—Set up a recurring monthly donation and you will get interesting news about what I'm doing (things that I don't share with everyone).
149 - **Bitcoin**—You can send me bitcoins at this address (or scanning the code below): `1P9BRsmazNQcuyTxEqveUsnf5CERdq35V6`
150
151 ![](https://i.imgur.com/z6OQI95.png)
152
153
154Thanks! :heart:
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171## :dizzy: Where is this library used?
172If you are using this library in one of your projects, add it in this list. :sparkles:
173
174 - `twing`
175 - `@fab/cli`
176 - `@sls-next/s3-static-assets`
177 - `panko`
178 - `surgeon`
179 - `leadconduit-custom`
180 - `rendition`
181 - `adjust-sourcemap-loader`
182 - `gene-js`
183 - `bible.js`
184 - `statique`
185 - `starts-with-emoji`
186 - `draper`
187 - `bible`
188 - `panko-cli`
189 - `palantir`
190 - `medipass-release-drafter`
191 - `resin-components`
192 - `now-dammit`
193 - `generator-regextxt`
194 - `@noelelias/twing`
195 - `redis-expiry`
196 - `clean-split`
197 - `@wizmea/twing`
198 - `express-file-api`
199 - `tweeter-client`
200 - `release-drafter-github-app`
201 - `zbee-sdk`
202 - `jaidbot`
203 - `@algolia/cli`
204 - `next-deploy`
205
206
207
208
209
210
211
212
213
214
215
216## :scroll: License
217
218[MIT][license] © [Ionică Bizău][website]
219
220
221
222
223
224
225[license]: /LICENSE
226[website]: https://ionicabizau.net
227[contributing]: /CONTRIBUTING.md
228[docs]: /DOCUMENTATION.md
229[badge_patreon]: https://ionicabizau.github.io/badges/patreon.svg
230[badge_amazon]: https://ionicabizau.github.io/badges/amazon.svg
231[badge_paypal]: https://ionicabizau.github.io/badges/paypal.svg
232[badge_paypal_donate]: https://ionicabizau.github.io/badges/paypal_donate.svg
233[patreon]: https://www.patreon.com/ionicabizau
234[amazon]: http://amzn.eu/hRo9sIZ
235[paypal-donations]: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=RVXDDLKKLQRJW
Note: See TracBrowser for help on using the repository browser.