【发布时间】:2014-10-08 01:34:44
【问题描述】:
这是上标heyʰ howʱ我正在寻找一个正则表达式,它匹配任何由空格分隔并具有上标的单词。我在架构文件中将其设置为<xs:restriction>。我对正则表达式真的很陌生,但这是我的尝试:
<xs:restriction base='xs:string'>
<xs:pattern value='(\w)\s+(\w)'/>
</xs:restriction>
【问题讨论】:
标签: xml regex xsd pattern-matching schema