Skip to content

Commit

Permalink
Minor fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
kirkrodrigues committed Jun 13, 2024
1 parent d03f511 commit 3a32d37
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions clp_ffi_py/wildcard_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ def case_sensitive(self) -> bool:
class SubstringWildcardQuery(WildcardQuery):
"""
A wildcard query that can match a substring in a log event's message, in
contrast with :class:`FullStringWildcardQuery` where the needs to match the
entire message.
contrast with :class:`FullStringWildcardQuery` where the query needs to
match the entire message.
This class is derived from :class:`WildcardQuery` by adding both a prefix
and a postfix wildcard ("*") to the input wildcard string.
Expand Down
5 changes: 3 additions & 2 deletions docs/src/api/clp_ffi_py.ir.query_builder.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,10 @@ clp\_ffi\_py.ir.query\_builder module
query list.

.. deprecated:: 0.0.12
Instead, use :meth:`add_wildcard_query` with either a
Use :meth:`add_wildcard_query` with either a
:class:`~clp_ffi_py.wildcard_query.FullStringWildcardQuery` or
:class:`~clp_ffi_py.wildcard_query.SubstringWildcardQuery`.
:class:`~clp_ffi_py.wildcard_query.SubstringWildcardQuery`
instead.

:param str wildcard_query: The wildcard query string to add.
:param bool case_sensitive: Whether to perform case-sensitive matching.
Expand Down

0 comments on commit 3a32d37

Please sign in to comment.