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
5fa8f7b1
Commit
5fa8f7b1
authored
Dec 22, 2016
by
Sebastian Böttger
Committed by
GitHub
Dec 22, 2016
Browse files
Merge pull request #1 from seboettg/seboettg-hash-subfields
Update Subfield.php
parents
a631115c
7fe907b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/HAB/Pica/Record/Subfield.php
View file @
5fa8f7b1
...
...
@@ -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