@@ -578,7 +578,7 @@ def matching(self, deprecated=None, pattern=None, regex=None):
578578
579579 Parameters
580580 ----------
581- pattern : str or Group
581+ pattern : str or Group, optional
582582 Pattern to match.
583583 * `?` matches any single character
584584 * `*` matches any number of characters
@@ -587,7 +587,7 @@ def matching(self, deprecated=None, pattern=None, regex=None):
587587
588588 To match any of the special characters above, wrap the character in brackets. For example, `[?]` matches
589589 the character `?`.
590- regex : str or Group
590+ regex : str or Group, optional
591591 Regular expression pattern to match. Regular expressions are more powerful than what the simple patterns
592592 supported by the `pattern` argument but are also more complex to write.
593593 See `Regular Expression <https://docs.python.org/3/library/re.html>`_ for more details about how to build
@@ -3230,7 +3230,7 @@ def split_axes(self, axes=None, sep='_', names=None, regex=None):
32303230 names : str or list of str, optional
32313231 names of resulting axes. Defaults to None.
32323232 regex : str, optional
3233- use regex instead of delimiter to split labels. Defaults to None.
3233+ use the ` regex` regular expression to split labels instead of the `sep` delimiter . Defaults to None.
32343234
32353235 See Also
32363236 --------
@@ -3260,7 +3260,7 @@ def split_axes(self, axes=None, sep='_', names=None, regex=None):
32603260 Axis(['b0', 'b1', 'b2'], 'b')
32613261 ])
32623262
3263- Split labels using regex
3263+ Split labels using a regular expression
32643264
32653265 >>> combined = AxisCollection('a_b = a0b0..a1b2')
32663266 >>> combined
0 commit comments