Skip to content

Commit b5ec4a5

Browse files
Copilotjkotas
andcommitted
Fix documentation: change "case sensitive" to "case-insensitive" for cultureName parameter
Co-authored-by: jkotas <[email protected]>
1 parent f12d467 commit b5ec4a5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

xml/System.Text.RegularExpressions/GeneratedRegexAttribute.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@
169169
<Docs>
170170
<param name="pattern">The regular expression pattern to match.</param>
171171
<param name="options">A bitwise combination of the enumeration values that modify the regular expression.</param>
172-
<param name="cultureName">The name of a culture to be used for case sensitive comparisons. <paramref name="cultureName" /> is not case-sensitive.</param>
172+
<param name="cultureName">The name of a culture to be used for case-insensitive comparisons. <paramref name="cultureName" /> is not case-sensitive.</param>
173173
<summary>Initializes a new instance of <see cref="T:System.Text.RegularExpressions.GeneratedRegexAttribute" /> with the specified pattern and options.</summary>
174174
<remarks>For a list of predefined culture names on Windows systems, see the Language tag column in the <see href="/openspecs/windows_protocols/ms-lcid/a9eac961-e77d-41a6-90a5-ce1a8b0cdb9c">list of language/region names supported by Windows</see>. Culture names follow the standard defined by <see href="https://tools.ietf.org/html/bcp47">BCP 47</see>. In addition, starting with Windows 10, <paramref name="cultureName" /> can be any valid BCP-47 language tag.
175175
If <paramref name="cultureName" /> is <see cref="F:System.String.Empty" />, the invariant culture will be used.</remarks>
@@ -207,7 +207,7 @@
207207
<param name="pattern">The regular expression pattern to match.</param>
208208
<param name="options">A bitwise combination of the enumeration values that modify the regular expression.</param>
209209
<param name="matchTimeoutMilliseconds">A time-out interval (milliseconds), or <see cref="F:System.Threading.Timeout.Infinite" /> to indicate that the method should not time out.</param>
210-
<param name="cultureName">The name of a culture to be used for case sensitive comparisons. <paramref name="cultureName" /> is not case-sensitive.</param>
210+
<param name="cultureName">The name of a culture to be used for case-insensitive comparisons. <paramref name="cultureName" /> is not case-sensitive.</param>
211211
<summary>Initializes a new instance of <see cref="T:System.Text.RegularExpressions.GeneratedRegexAttribute" /> with the specified pattern, options, time-out value, and culture.</summary>
212212
<remarks>For a list of predefined culture names on Windows systems, see the Language tag column in the <see href="/openspecs/windows_protocols/ms-lcid/a9eac961-e77d-41a6-90a5-ce1a8b0cdb9c">list of language/region names supported by Windows</see>. Culture names follow the standard defined by <see href="https://tools.ietf.org/html/bcp47">BCP 47</see>. In addition, starting with Windows 10, <paramref name="cultureName" /> can be any valid BCP-47 language tag.
213213
If <paramref name="cultureName" /> is <see cref="F:System.String.Empty" />, the invariant culture will be used.</remarks>
@@ -232,7 +232,7 @@
232232
<ReturnType>System.String</ReturnType>
233233
</ReturnValue>
234234
<Docs>
235-
<summary>Gets the name of the culture to be used for case sensitive comparisons.</summary>
235+
<summary>Gets the name of the culture to be used for case-insensitive comparisons.</summary>
236236
<value>To be added.</value>
237237
<remarks>To be added.</remarks>
238238
</Docs>

0 commit comments

Comments
 (0)