Commit 5fa8f7b1 authored by Sebastian Böttger's avatar Sebastian Böttger Committed by GitHub
Browse files

Merge pull request #1 from seboettg/seboettg-hash-subfields

Update Subfield.php
parents a631115c 7fe907b3
...@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment