Function

Birbstr_matches

unstable since: 0.6

Declaration [src]

gboolean
birb_str_matches (
  const char* pattern,
  const char* str
)

Description [src]

Checks if pattern occurs in sequential order in str in a caseless fashion, ignoring characters in between.

For example, if pattern was Br and str was biRb, this will return TRUE.

Available since: 0.6

Parameters

pattern

Type: const char*

The pattern to search for.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
str

Type: const char*

The string to check.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

Return value

Type: gboolean

TRUE if pattern occurs in sequential order in str.