Commit 7fe907b3 authored by Sebastian Böttger's avatar Sebastian Böttger Committed by GitHub
Browse files

Update Subfield.php

Allow subfield code  '#'.
parent a631115c
......@@ -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
}
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