Oyranos  git-devel
Oyranos is a full featured Color Management System
Functions
oyranos_object_internal.h File Reference
#include <string.h>
#include <math.h>
#include <oyranos_object.h>
#include <oyranos_helper.h>
#include <oyranos_debug.h>
#include <oyranos_i18n.h>
#include <oyranos_string.h>

Functions

int oyTextIccDictMatch (const char *text, const char *pattern, double delta, char path_separator, char key_separator)
 analyse a string and compare with a given pattern More...
 

Detailed Description

[Template file inheritance graph] +– oyranos_object_internal.template.h

Oyranos is an open source Color Management System

Copyright:
2004-2022 (C) Kai-Uwe Behrmann
Author
Kai-Uwe Behrmann ku.b@.nosp@m.gmx..nosp@m.de
License:
new BSD - see: http://www.opensource.org/licenses/BSD-3-Clause

Function Documentation

◆ oyTextIccDictMatch()

int oyTextIccDictMatch ( const char *  text,
const char *  pattern,
double  delta,
char path_separator  OY_UNUSED,
char  key_separator 
)

analyse a string and compare with a given pattern

Function oyTextIccDictMatch The rules are described in the ICC meta tag dict type at http://www.color.org ICCSpecRevision_25-02-10_dictType.pdf

Parameters
textvalue string
patternpattern to compare with
deltasay how far a difference can drift
path_separatorignored
key_separatorsplit text and pattern by a char; usually comma - ','
Returns
match, useable for ranking
Version
Oyranos: 0.9.7
Date
2022/04/18
Since
2010/11/21 (Oyranos: 0.1.3)