Skip to content
This repository
Browse code

make regex match case insensitive, fixes #9

  • Loading branch information...
commit d34c7f82414d89f9bc5933409e50a1802fc98544 1 parent 851b7c0
Bulat Shakirzyanov avalanche123 authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  server.js
2  server.js
@@ -226,7 +226,7 @@ app.get('/events.json', function(req, res){
226 226 , event.name
227 227 , event.description
228 228 , event.author
229   - ].join(" ").search(new RegExp(req.query.q)) === -1) {
  229 + ].join(" ").search(new RegExp(req.query.q, "i")) === -1) {
230 230 return;
231 231 }
232 232

0 comments on commit d34c7f8

Please sign in to comment.
Something went wrong with that request. Please try again.