Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ensembl-gh-mirror
ensembl
Commits
e745f369
Commit
e745f369
authored
Nov 11, 2010
by
Andreas Kusalananda Kähäri
Browse files
Correct faulty regular expression for parsing database names.
parent
dc47a1cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
misc-scripts/production_database/scripts/update_database_list.pl
...ripts/production_database/scripts/update_database_list.pl
+1
-1
No files found.
misc-scripts/production_database/scripts/update_database_list.pl
View file @
e745f369
...
...
@@ -134,7 +134,7 @@ foreach my $server (@servers) {
while
(
$sth
->
fetch
()
)
{
my
(
$db_type
,
$db_assembly
,
$db_suffix
)
=
(
$database
=~
/^[a-z]+_[a-z]+_([a-z]+)_([0-9]+)
_([0-9]+
[a-z]?)$/
);
/^[a-z]+_[a-z]+_([a-z]+)_
[0-9]+_
([0-9]+)
(
[a-z]?)$/
);
if
(
!
defined
(
$db_type
)
||
!
defined
(
$db_assembly
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment