Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
MetaGer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
open-source
MetaGer
Merge requests
!1357
Resolve "Phrasensuche geht nicht"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Phrasensuche geht nicht"
848-phrasensuche-geht-nicht
into
development
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Ghost User
requested to merge
848-phrasensuche-geht-nicht
into
development
6 years ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
Closes
#848 (closed)
Edited
6 years ago
by
Ghost User
0
0
Merge request reports
Compare
development
development (base)
and
latest version
latest version
4ee40f32
1 commit,
6 years ago
1 file
+
1
−
1
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
app/MetaGer.php
+
1
−
1
Options
@@ -1124,7 +1124,7 @@ class MetaGer
@@ -1124,7 +1124,7 @@ class MetaGer
$p
=
""
;
$p
=
""
;
$tmp
=
$this
->
q
;
$tmp
=
$this
->
q
;
// matches '[... ]"test satz"[ ...]'
// matches '[... ]"test satz"[ ...]'
while
(
preg_match
(
"/(^|.*?\s)
\"
(
\S
+)
\"
(\s.*|$)/si"
,
$tmp
,
$match
))
{
while
(
preg_match
(
"/(^|.*?\s)
\"
(
.
+)
\"
(\s.*|$)/si"
,
$tmp
,
$match
))
{
$tmp
=
$match
[
1
]
.
$match
[
3
];
$tmp
=
$match
[
1
]
.
$match
[
3
];
$this
->
phrases
[]
=
$match
[
2
];
$this
->
phrases
[]
=
$match
[
2
];
}
}
Loading