Skip to content
Snippets Groups Projects
Commit a00e195d authored by David Maus's avatar David Maus Committed by GitHub
Browse files

Merge pull request #1 from seboettg/master

Allow subfield code "#"
parents a631115c 5fa8f7b1
No related branches found
No related tags found
No related merge requests found
...@@ -38,7 +38,7 @@ class Subfield ...@@ -38,7 +38,7 @@ class Subfield
* *
* @var string * @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. * Return true if argument is a valid subfield code.
...@@ -149,4 +149,4 @@ class Subfield ...@@ -149,4 +149,4 @@ class Subfield
{ {
return $this->getValue(); return $this->getValue();
} }
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment