Skip to content

Commit 8a788c4

Browse files
eemeliaphillips
andauthored
Add :string as formatter and selector (#594)
* Add :string * Apply suggestions from code review Co-authored-by: Addison Phillips <[email protected]> --------- Co-authored-by: Addison Phillips <[email protected]>
1 parent 2a2c2be commit 8a788c4

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

exploration/exact-match-selector-options.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Design Proposal Template
22

3-
Status: **Proposed**
3+
Status: **Accepted**
44

55
<details>
66
<summary>Metadata</summary>

spec/registry.xml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<validationRule id="positiveInteger" regex="0|([1-9]\d*)"/>
77
<validationRule id="currencyCode" regex="[A-Z]{3}"/>
88
<validationRule id="timeZoneId" regex="[a-zA-Z/]+"/>
9+
<validationRule id="anything" regex=".*"/>
910
<validationRule id="anythingNotEmpty" regex=".+"/>
1011
<validationRule id="iso8601" regex="\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}"/>
1112

@@ -250,4 +251,18 @@
250251
</alias>
251252
</function>
252253

254+
<function name="string">
255+
<description>
256+
Formatting of strings as a literal and selection based on string equality
257+
</description>
258+
259+
<formatSignature>
260+
<input validationRule="anything" />
261+
</formatSignature>
262+
263+
<matchSignature>
264+
<input validationRule="anything" />
265+
<match validationRule="anything" />
266+
</matchSignature>
267+
</function>
253268
</registry>

0 commit comments

Comments
 (0)