Skip to content
This repository has been archived by the owner on Apr 7, 2024. It is now read-only.

Commit

Permalink
Fix regexp
Browse files Browse the repository at this point in the history
  • Loading branch information
komex committed Dec 2, 2016
1 parent e19583a commit 726e154
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Che/DBAL/Vertica/ODBCStatement.php
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ protected function parseQuery($query)
$counter = 1;

return preg_replace_callback(
'/(?<=\s):[a-z]\w*|(?<=\s)\?/i',
'/(?<!\w)(?:(?<!:):[a-z]\w*|\?)/i',
function (array $match) use (&$counter) {
$name = $match[0];
if ($name === '?') {
Expand Down

0 comments on commit 726e154

Please sign in to comment.