1. 27 May, 2020 1 commit
  2. 24 May, 2020 3 commits
  3. 23 May, 2020 3 commits
  4. 22 May, 2020 4 commits
  5. 21 May, 2020 5 commits
  6. 20 May, 2020 7 commits
  7. 18 May, 2020 2 commits
  8. 17 May, 2020 4 commits
  9. 14 May, 2020 2 commits
  10. 12 May, 2020 3 commits
  11. 11 May, 2020 4 commits
  12. 10 May, 2020 2 commits
    • Antonin Décimo's avatar
      Fix escaping of \ in character class. · 31a5a8e8
      Antonin Décimo authored
      > Rejeté. Ce n'est pas un escape.
      
      D’après mes tests, c’est considéré comme un escape. Doubler le
      caractère serait suffisant.
      
          const url = 'https://example\\.com';
          const urlRegexp1 = /https?:\/\/[-a-zA-Z0-9@:%/._\+~#=?]+[-a-zA-Z0-9@:%/_\+~#=]/g;
          const urlRegexp2 = /https?:\/\/[-a-zA-Z0-9@:%/._\\+~#=?]+[-a-zA-Z0-9@:%/_\\+~#=]/g;
          console.log(url.length); // 20
          console.log(urlRegexp1.exec(url)); // ["https://example"]
          console.log(urlRegexp2.exec(url)); // ["https://example\.com"]
      31a5a8e8
    • Antonin Décimo's avatar
      Introduce a lexical block in case. · 33610e89
      Antonin Décimo authored
      33610e89