Timeline for passing variable to a regexp in javascript [duplicate]
Current License: CC BY-SA 3.0
20 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 24, 2019 at 4:00 | review | Reopen votes | |||
| Jun 24, 2019 at 5:09 | |||||
| Sep 14, 2018 at 9:09 | history | duplicates list edited | Wiktor Stribiżew | duplicates list edited from How do you use a variable in a regular expression?, Escape string for use in Javascript regex [duplicate] to How do you use a variable in a regular expression?, Is there a RegExp.escape function in JavaScript? | |
| Sep 14, 2018 at 9:09 | history | duplicates list edited | Wiktor Stribiżew | duplicates list edited from How do you use a variable in a regular expression? to How do you use a variable in a regular expression?, Escape string for use in Javascript regex [duplicate] | |
| Sep 14, 2018 at 9:08 | history | duplicates list edited | Wiktor Stribiżew | duplicates list edited from Escape string for use in Javascript regex [duplicate] to How do you use a variable in a regular expression? | |
| Sep 14, 2018 at 9:07 | history | closed | Wiktor Stribiżew javascript Users with the javascript badge or a synonym can single-handedly close javascript questions as duplicates and reopen them as needed. | Duplicate of Escape string for use in Javascript regex [duplicate] | |
| Sep 14, 2018 at 9:07 | history | reopened | Wiktor Stribiżew javascript Users with the javascript badge or a synonym can single-handedly close javascript questions as duplicates and reopen them as needed. | ||
| Aug 13, 2018 at 14:10 | comment | added | Daniel Reina | I agree with MandM. And given that this question has been marked by duplicate we cannot update the answers with ES6 JS, and people will keep using verbose JS. @casperOne can you unmark this as duplicate? | |
| May 23, 2017 at 11:54 | history | edited | URL Rewriter Bot |
replaced http://stackoverflow.com/ with https://stackoverflow.com/
|
|
| Dec 4, 2015 at 13:08 | comment | added | MandM | @casperOne, what is the duplicate? Neither this question nor this question were the same as this question. This question is important because it shows actually mixing a string variable into a regex pattern, whereas the other questions' answers only provided examples where escaping characters was not an issue. | |
| S Jan 16, 2014 at 7:54 | history | suggested | Blundering Philosopher | CC BY-SA 3.0 |
improved formatting
|
| Jan 16, 2014 at 7:53 | review | Suggested edits | |||
| S Jan 16, 2014 at 7:54 | |||||
| Mar 2, 2012 at 17:38 | history | edited | Community Bot |
insert duplicate link
|
|
| Mar 2, 2012 at 17:38 | history | closed | casperOne | exact duplicate | |
| Mar 2, 2012 at 17:09 | answer | added | root-aj | timeline score: 1 | |
| Jan 28, 2009 at 15:48 | answer | added | Jason S | timeline score: 6 | |
| Jan 28, 2009 at 13:21 | history | edited | PEZ |
regex tag
|
|
| Jan 28, 2009 at 13:14 | vote | accept | Nrj | ||
| Jan 28, 2009 at 13:12 | answer | added | artificialidiot | timeline score: 58 | |
| Jan 28, 2009 at 12:54 | answer | added | Gareth | timeline score: 3 | |
| Jan 28, 2009 at 12:52 | history | asked | Nrj | CC BY-SA 2.5 |