Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dmj
PicaRecord
Commits
7fe907b3
Commit
7fe907b3
authored
Dec 22, 2016
by
Sebastian Böttger
Committed by
GitHub
Dec 22, 2016
Browse files
Update Subfield.php
Allow subfield code '#'.
parent
a631115c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/HAB/Pica/Record/Subfield.php
View file @
7fe907b3
...
...
@@ -38,7 +38,7 @@ class Subfield
*
* @var string
*/
public
static
$validSubfieldCodePattern
=
'/^[a-z0-9]$/Di'
;
public
static
$validSubfieldCodePattern
=
'/^[a-z0-9
#
]$/Di'
;
/**
* Return true if argument is a valid subfield code.
...
...
@@ -149,4 +149,4 @@ class Subfield
{
return
$this
->
getValue
();
}
}
\ No newline at end of file
}
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