about summary refs log tree commit diff
path: root/app/controllers/api/v1/search_controller.rb
diff options
context:
space:
mode:
authorDaniel King <northerner@users.noreply.github.com>2018-02-05 01:44:13 +0000
committerEugen Rochko <eugen@zeonfederated.com>2018-02-05 02:44:13 +0100
commit95c8232109f5e59273de48858ede7fbe7ce63d58 (patch)
treec8c0504a992cf99c4858a6ebff5774f3d4821c0d /app/controllers/api/v1/search_controller.rb
parent38e0133e1b01c21a710111097102a6eb205b9b9b (diff)
match hashtag regex in js client with server (#6431)
the slight mismatch in hashtag regex between js and ruby was causing
hashtag warning to be displayed for unlisted tweets when an invalid
hashtag was entered

exact version of ruby regex not possible in js as POSIX bracket
expressions are not supported, this version approximates and doesn't
give same unicode support
Diffstat (limited to 'app/controllers/api/v1/search_controller.rb')
0 files changed, 0 insertions, 0 deletions