aboutsummaryrefslogtreecommitdiff
path: root/cmd-source-file.c
diff options
context:
space:
mode:
authornicm <nicm>2020-04-01 08:07:05 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2020-04-01 10:09:03 +0100
commita5922546ac1e596fc37dc883cff12a9026f68d27 (patch)
treeb0a96a2601fb546c534bb0b95182b25f5c6bdd9b /cmd-source-file.c
parent3476eccf48001865ee43f98454d76895158063dc (diff)
downloadrtmux-a5922546ac1e596fc37dc883cff12a9026f68d27.tar.gz
rtmux-a5922546ac1e596fc37dc883cff12a9026f68d27.tar.bz2
rtmux-a5922546ac1e596fc37dc883cff12a9026f68d27.zip
Do not go down the regex search path (which is expensive because we need
to convert the grid data into a string for regexec and reverse it to find the grid position) if the search string does not contain any regex special characters.
Diffstat (limited to 'cmd-source-file.c')
0 files changed, 0 insertions, 0 deletions