yast2-core
Classes | Macros | Typedefs | Functions | Variables
YCPBuiltinString.cc File Reference
#include <unistd.h>
#include <ctype.h>
#include <stdio.h>
#include <regex.h>
#include <libintl.h>
#include <string>
#include <boost/algorithm/string.hpp>
#include "ycp/YCPBuiltinString.h"
#include "ycp/YCPString.h"
#include "ycp/YCPInteger.h"
#include "ycp/YCPPath.h"
#include "ycp/YCPSymbol.h"
#include "ycp/YCPBoolean.h"
#include "ycp/YCPVoid.h"
#include "ycp/y2log.h"
#include "y2string.h"
#include "y2crypt.h"
#include "ycp/StaticDeclaration.h"

Classes

struct  REG_RET
 (regexp builtins) More...
 

Macros

#define _GNU_SOURCE
 
#define ERR_MAX   80
 
#define SUB_MAX   10
 
#define ETC   0, NULL, constTypePtr(), NULL
 
#define ETCf   NULL, constTypePtr(), NULL
 

Typedefs

typedef struct REG_RET Reg_Ret
 (regexp builtins) More...
 

Functions

static YCPValue s_isempty (const YCPString &s)
 
static YCPValue s_size (const YCPString &s)
 
static YCPValue s_plus1 (const YCPString &s1, const YCPString &s2)
 
static YCPValue s_plus2 (const YCPString &s1, const YCPInteger &i2)
 
static YCPValue s_plus3 (const YCPString &s1, const YCPPath &p2)
 
static YCPValue s_plus4 (const YCPString &s1, const YCPSymbol &s2)
 
static YCPValue s_issubstring (const YCPString &target, const YCPString &sub)
 
static YCPValue s_tohexstring1 (const YCPInteger &i)
 
static YCPValue s_tohexstring2 (const YCPInteger &i, const YCPInteger &w)
 
static YCPValue s_substring1 (const YCPString &s, const YCPInteger &i1)
 
static YCPValue s_substring2 (const YCPString &s, const YCPInteger &i1, const YCPInteger &i2)
 
static YCPValue s_search (const YCPString &s1, const YCPString &s2)
 
static YCPValue s_find (const YCPString &s1, const YCPString &s2)
 
static YCPValue s_tolower (const YCPString &s)
 
static YCPValue s_toupper (const YCPString &s)
 
static YCPValue s_toascii (const YCPString &s)
 
static YCPValue s_removechars (const YCPString &s, YCPString &r)
 
static YCPValue s_filterchars (const YCPString &s, const YCPString &i)
 
static YCPValue s_mergestring (const YCPList &l, const YCPString &s)
 
static YCPValue s_findfirstnotof (const YCPString &s1, const YCPString &s2)
 
static YCPValue s_findfirstof (const YCPString &s1, const YCPString &s2)
 
static YCPValue s_findlastof (const YCPString &s1, const YCPString &s2)
 
static YCPValue s_findlastnotof (const YCPString &s1, const YCPString &s2)
 
Reg_Ret solve_regular_expression (const char *input, const char *pattern, const char *result)
 
static YCPValue s_regexpmatch (const YCPString &i, const YCPString &p)
 
static YCPValue s_regexppos (const YCPString &inp, const YCPString &pat)
 
static YCPValue s_regexpsub (const YCPString &i, const YCPString &p, const YCPString &m)
 
static YCPValue s_regexptokenize (const YCPString &i, const YCPString &p)
 
static YCPValue s_tostring (const YCPValue &v)
 
static YCPValue s_timestring (const YCPString &fmt, const YCPInteger &time, const YCPBoolean &utc_flag)
 
static YCPValue s_crypt (const YCPString &s)
 
static YCPValue s_cryptmd5 (const YCPString &s)
 
static YCPValue s_cryptblowfish (const YCPString &original)
 
static YCPValue s_cryptsha256 (const YCPString &original)
 
static YCPValue s_cryptsha512 (const YCPString &original)
 
static YCPValue s_dgettext (const YCPString &domain, const YCPString &text)
 
static YCPValue s_dngettext (const YCPString &domain, const YCPString &singular, const YCPString &plural, const YCPInteger &count)
 
static YCPValue s_dpgettext (const YCPString &domain, const YCPString &domain_path, const YCPString &text)
 

Variables

StaticDeclaration static_declarations
 

Macro Definition Documentation

#define _GNU_SOURCE
#define ERR_MAX   80
#define ETC   0, NULL, constTypePtr(), NULL
#define ETCf   NULL, constTypePtr(), NULL
#define SUB_MAX   10

Typedef Documentation

typedef struct REG_RET Reg_Ret

(regexp builtins)

Function Documentation

static YCPValue s_crypt ( const YCPString s)
static

crypt Encrypts a string Encrypts the string UNENCRYPTED using the standard password encryption provided by the system.

Parameters
stringUNENCRYPTED
Returns
string

crypt ("readable") -> "Y2PEyAiaeaFy6"

References YaST::CRYPT, YaST::crypt_pass(), YCPElement::isNull(), and ycp2error.

Referenced by YCPBuiltinString::YCPBuiltinString().

static YCPValue s_cryptblowfish ( const YCPString original)
static

cryptblowfish Encrypts a string with blowfish Encrypts the string UNENCRYPTED using blowfish password encryption. The password is not truncated.

Parameters
stringUNENCRYPTED
Returns
string cryptblowfish ("readable") -> "$2a$05$B3lAUExB.Bqpy8Pq0TpZt.s7EydrmxJRuhOZR04YG01ptwOUR147C"

References YaST::BLOWFISH, YaST::crypt_pass(), YCPElement::isNull(), and ycp2error.

Referenced by YCPBuiltinString::YCPBuiltinString().

static YCPValue s_cryptmd5 ( const YCPString s)
static

cryptmd5 Encrypts a string using md5 Encrypts the string UNENCRYPTED using MD5 password encryption.

Parameters
stringUNENCRYPTED
Returns
string

cryptmd5 ("readable") -> "$1$BBtzrzzz$zc2vEB7XnA3Iq7pOgDsxD0"

References YaST::crypt_pass(), YCPElement::isNull(), YaST::MD5, and ycp2error.

Referenced by YCPBuiltinString::YCPBuiltinString().

static YCPValue s_cryptsha256 ( const YCPString original)
static

cryptsha256 Encrypts a string with sha256 Encrypts the string UNENCRYPTED using sha256 password encryption. The password is not truncated.

Parameters
stringUNENCRYPTED
Returns
string cryptsha256 ("readable") -> "$5$keev8D8I$kZdbw1WYM7XJtn4cpl1S3QtoKXnxIIFVSqwadMAGLE3"

References YaST::crypt_pass(), YCPElement::isNull(), YaST::SHA256, and ycp2error.

Referenced by YCPBuiltinString::YCPBuiltinString().

static YCPValue s_cryptsha512 ( const YCPString original)
static

cryptsha512 Encrypts a string with sha512 Encrypts the string UNENCRYPTED using sha512 password encryption. The password is not truncated.

Parameters
stringUNENCRYPTED
Returns
string cryptsha512 ("readable") -> "$6$QskPAFTK$R40N1UI047Bg.nD96ZYSGnx71mgbBgb.UEtKuR8bGGxuzYgXjCTxKIQmqXrgftBzA20m2P9ayrUKQQ2pnWzm70"

References YaST::crypt_pass(), YCPElement::isNull(), YaST::SHA512, and ycp2error.

Referenced by YCPBuiltinString::YCPBuiltinString().

static YCPValue s_dgettext ( const YCPString domain,
const YCPString text 
)
static

_(string text) -> string Translates the text using the current textdomain.

Example

_("File") -> "Soubor"

dgettext Translates the text using the given text domain Translates the text using the given text domain into the current language.

This is a special case builtin not intended for general use. See _() instead.

Parameters
stringtextdomain
stringtext
Returns
string dgettext ("base", "No") -> "Nie"

References YLocale::ensureBindDomain(), and YCPElement::isNull().

Referenced by YCPBuiltinString::YCPBuiltinString().

static YCPValue s_dngettext ( const YCPString domain,
const YCPString singular,
const YCPString plural,
const YCPInteger count 
)
static

_(string singular, string plural, integer value) -> string Translates the text using a locale-aware plural form handling and the current textdomain. The chosen form of the translation depends on the value.

Example

_("%1 File", "%1 Files", 2) -> "%1 soubory"

dngettext Translates the text using a locale-aware plural form handling Translates the text using a locale-aware plural form handling using the given textdomain.

The chosen form of the translation depend on the value.

This is a special case builtin not intended for general use. See _() instead.

Parameters
stringtextdomain
stringsingular
stringplural
integervalue
Returns
string

dngettext ("base", "%1 File", "%1 Files", 2) -> "%1 soubory"

References YLocale::ensureBindDomain(), and YCPElement::isNull().

Referenced by YCPBuiltinString::YCPBuiltinString().

static YCPValue s_dpgettext ( const YCPString domain,
const YCPString domain_path,
const YCPString text 
)
static

dpgettext Translates the text using the given text domain and path Translates the text using the given text domain into the current language and path of localization . Path of localization is same than dirname in function bindtextdomain()

This is a special case builtin not intended for general use. See _() instead.

Parameters
stringtextdomain
stringdirname
stringtext
Returns
string dpgettext ("base", "/texdomain/path", "No") -> "Nie"

References YLocale::bindDomainDir(), YLocale::findDomain(), and YCPElement::isNull().

Referenced by YCPBuiltinString::YCPBuiltinString().

static YCPValue s_filterchars ( const YCPString s,
const YCPString i 
)
static

filterchars Filters characters out of a String

Parameters
stringSTRING
stringCHARS chars to be included
Returns
string

Returns a string that results from string STRING by removing all characters that do not occur in CHARS.

See Also
deletechars filterchars ("a", "abcdefghijklmnopqrstuvwxyz") -> "a" filterchars ("abc","cde") -> "c"

References YCPElement::isNull().

Referenced by YCPBuiltinString::YCPBuiltinString().

static YCPValue s_find ( const YCPString s1,
const YCPString s2 
)
static

find find-string Returns position of a substring

Parameters
stringSTRING1 String
stringSTRING2 Substring
Returns
integer OFFSET If substring is not found find returns `-1'.

The find function searches string for the first occurency of a specified substring (possibly a single character) and returns its starting position.

Returns the first position in STRING1 where the string STRING2 is contained in STRING1. OFFSET starts with 0.

Deprecated:
Use search() instead
See Also
findfirstof
findfirstnotof
search find ("abcdefghi", "efg") -> 4 find ("aaaaa", "z") -> -1

References YCPElement::isNull(), and s_search().

Referenced by YCPBuiltinString::YCPBuiltinString().

static YCPValue s_findfirstnotof ( const YCPString s1,
const YCPString s2 
)
static

findfirstnotof Searches string for the first non matching chars

Parameters
stringSTRING
stringCHARS

The findfirstnotof function searches the first element of string that doesn't match any character stored in chars and returns its position.

Returns
integer the position of the first character in STRING that is not contained in CHARS.
See Also
findfirstof
find findfirstnotof ("abcdefghi", "abcefghi") -> 3 findfirstnotof ("aaaaa", "a") -> nil

References YCPElement::isNull().

Referenced by YCPBuiltinString::YCPBuiltinString().

static YCPValue s_findfirstof ( const YCPString s1,
const YCPString s2 
)
static

findfirstof Finds position of the first matching characters in string

Parameters
stringSTRING
stringCHARS Characters to find

The findfirstof function searches string for the first match of any character stored in chars and returns its position.

If no match is found findfirstof returns `nil'.

Returns
integer the position of the first character in STRING that is contained in CHARS.
See Also
findfirstnotof
find findfirstof ("abcdefghi", "cxdv") -> 2 findfirstof ("aaaaa", "z") -> nil

References YCPElement::isNull().

Referenced by YCPBuiltinString::YCPBuiltinString().

static YCPValue s_findlastnotof ( const YCPString s1,
const YCPString s2 
)
static

findlastnotof Searches the last element of string that doesn't match

Parameters
stringSTRING
stringCHARS Characters The `findlastnotof' function searches the last element of string that doesn't match any character stored in chars and returns its position.

If no match is found the function returns `nil'.

Returns
integer The position of the last character in STRING that is NOT contained in CHARS.
See Also
findfirstnotof findlastnotof( "abcdefghi", "abcefghi" ) -> 3 ('d') findlastnotof("aaaaa", "a") -> nil

References YCPElement::isNull().

Referenced by YCPBuiltinString::YCPBuiltinString().

static YCPValue s_findlastof ( const YCPString s1,
const YCPString s2 
)
static

findlastof Searches string for the last match The `findlastof' function searches string for the last match of any character stored in chars and returns its position.

Parameters
stringSTRING String
stringCHARS Characters to find
Returns
integer the position of the last character in STRING that is contained in CHARS.
See Also
findfirstof findlastof ("abcdecfghi", "cxdv") -> 5 findlastof ("aaaaa", "z") -> nil

References YCPElement::isNull().

Referenced by YCPBuiltinString::YCPBuiltinString().

static YCPValue s_isempty ( const YCPString s)
static

isempty isempty-string Returns whether the string s is empty.

Parameters
strings String
Returns
boolean Emptiness of string s

Notice that the string s must not be nil.

isempty("") -> true isempty("test") -> false

References YCPString::isEmpty().

Referenced by YCPBuiltinString::YCPBuiltinString().

static YCPValue s_issubstring ( const YCPString target,
const YCPString sub 
)
static

issubstring searches for a specific string within another string

Parameters
strings String to be searched
stringsubstring Pattern to be searched for
Returns
boolean Return true, if substring is a substring of s.

issubstring ("some text", "tex") -> true

References YCPElement::isNull().

Referenced by YCPBuiltinString::YCPBuiltinString().

static YCPValue s_mergestring ( const YCPList l,
const YCPString s 
)
static

mergestring Joins list elements with a string

Parameters
list<string>PIECES A List of strings
stringGLUE
Returns
string

Returns a string containing a string representation of all the list elements in the same order, with the glue string between each element.

List elements which are not of type strings are ignored.

See Also
splitstring

mergestring (["", "abc", "dev", "ghi"], "/") -> "/abc/dev/ghi" mergestring (["abc", "dev", "ghi", ""], "/") -> "abc/dev/ghi/" mergestring ([1, "a", 3], ".") -> "a" mergestring ([], ".") -> "" mergestring (["abc", "dev", "ghi"], "") -> "abcdevghi" mergestring (["abc", "dev", "ghi"], "123") -> "abc123dev123ghi"

References YCPList::isEmpty(), YCPElement::isNull(), YCPList::size(), YCPList::value(), and ycp2error.

Referenced by YCPBuiltinString::YCPBuiltinString().

static YCPValue s_plus1 ( const YCPString s1,
const YCPString s2 
)
static

string s1 + string s2 -> string Returns concatenation of s1 and s2.

Example:

"YaST" + "2" -> "YaST2"

References YCPElement::isNull().

Referenced by YCPBuiltinString::YCPBuiltinString().

static YCPValue s_plus2 ( const YCPString s1,
const YCPInteger i2 
)
static

string s1 + integer i2 -> string String and integer Concatenation

Returns concatenation of s1 and i2 after transforming i2 to a string.

Example:

"YaST" + 2 -> "YaST2"

References YCPElement::isNull(), and toString().

Referenced by YCPBuiltinString::YCPBuiltinString().

static YCPValue s_plus3 ( const YCPString s1,
const YCPPath p2 
)
static

string s1 + path p2 -> string String and path Concatenation Returns concatenation of s1 and p2 after transforming p2 to a string.

Example: "YaST" + .two -> "YaST.two"

References YCPElement::isNull().

Referenced by YCPBuiltinString::YCPBuiltinString().

static YCPValue s_plus4 ( const YCPString s1,
const YCPSymbol s2 
)
static

string s1 + symbol s2 -> string String and symbol Concatenation

Returns concatenation of s1 and s2 after transforming s2 to a string AND stripping the leading backquote.

Example: "YaST" + `two -> "YaSTtwo"

References YCPElement::isNull().

Referenced by YCPBuiltinString::YCPBuiltinString().

static YCPValue s_regexpmatch ( const YCPString i,
const YCPString p 
)
static

regexpmatch

Searches a string for a POSIX Extended Regular Expression match.

Parameters
stringINPUT
stringPATTERN
Returns
boolean
See Also
regex(7)

regexpmatch ("aaabbbccc", "ab") -> true regexpmatch ("aaabbbccc", "^ab") -> false regexpmatch ("aaabbbccc", "ab+c") -> true regexpmatch ("aaa(bbb)ccc", "\\(.*\\)") -> true

References REG_RET::error, REG_RET::error_str, YCPElement::isNull(), solve_regular_expression(), REG_RET::solved, and ycp2error.

Referenced by YCPBuiltinString::YCPBuiltinString().

static YCPValue s_regexppos ( const YCPString inp,
const YCPString pat 
)
static

regexppos Returns a pair with position and length of the first match.

Parameters
stringINPUT
stringPATTERN
Returns
list

If no match is found it returns an empty list.

See Also
regex(7).

regexppos ("abcd012efgh345", "[0-9]+") -> [4, 3] ("aaabbb", "[0-9]+") -> []

References YCPList::add(), REG_RET::error, REG_RET::error_str, YCPElement::isNull(), REG_RET::match_str, solve_regular_expression(), REG_RET::solved, and ycp2error.

Referenced by YCPBuiltinString::YCPBuiltinString().

static YCPValue s_regexpsub ( const YCPString i,
const YCPString p,
const YCPString m 
)
static

regexpsub Regex Substitution

Parameters
stringINPUT
stringPATTERN
stringOUTPUT
Returns
string

Searches a string for a POSIX Extended Regular Expression match and returns OUTPUT with the matched subexpressions substituted or nil if no match was found.

See Also
regex(7)

regexpsub ("aaabbb", "(.*ab)", "s_\\1_e") -> "s_aaab_e" regexpsub ("aaabbb", "(.*ba)", "s_\\1_e") -> nil

References REG_RET::error, REG_RET::error_str, YCPElement::isNull(), REG_RET::result_str, solve_regular_expression(), REG_RET::solved, and ycp2error.

Referenced by YCPBuiltinString::YCPBuiltinString().

static YCPValue s_regexptokenize ( const YCPString i,
const YCPString p 
)
static

regexptokenize Regex tokenize

Parameters
stringINPUT
stringPATTERN
Returns
list
See Also
regex(7). Searches a string for a POSIX Extended Regular Expression match and returns a list of the matched subexpressions

If the pattern does not match, the list is empty. Otherwise the list contains then matchted subexpressions for each pair of parenthesize in pattern.

If the pattern is invalid, 'nil' is returned.

Examples: // e == [ "aaabbB" ] list e = regexptokenize ("aaabbBb", "(.*[A-Z]).*");

// h == [ "aaab", "bb" ] list h = regexptokenize ("aaabbb", "(.*ab)(.*)");

// h == [] list h = regexptokenize ("aaabbb", "(.*ba).*");

// h == nil list h = regexptokenize ("aaabbb", "(.*ba).*(");

References YCPList::add(), REG_RET::error, REG_RET::error_str, YCPElement::isNull(), REG_RET::match_nb, REG_RET::match_str, solve_regular_expression(), REG_RET::solved, and ycp2error.

Referenced by YCPBuiltinString::YCPBuiltinString().

static YCPValue s_removechars ( const YCPString s,
YCPString r 
)
static

deletechars

Removes all characters from a string

Parameters
stringSTRING
stringREMOVE Characters to be removed from STRING
Returns
string

Returns a string that results from string STRING by removing all characters that occur in string REMOVE.

See Also
filterchars deletechars ("a", "abcdefghijklmnopqrstuvwxyz") -> "" deletechars ("abc","cde") -> "ab"

References YCPElement::isNull().

Referenced by YCPBuiltinString::YCPBuiltinString().

static YCPValue s_search ( const YCPString s1,
const YCPString s2 
)
static

search Returns position of a substring

Parameters
stringSTRING1 String
stringSTRING2 Substring
Returns
integer OFFSET If substring is not found search returns `nil'.

The search function searches string for the first occurency of a specified substring (possibly a single character) and returns its starting position.

Returns the first position in STRING1 where the string STRING2 is contained in STRING1. OFFSET starts with 0.

See Also
findfirstof
findfirstnotof
find search ("abcdefghi", "efg") -> 4 search ("aaaaa", "z") -> nil

References YCPElement::isNull().

Referenced by s_find(), and YCPBuiltinString::YCPBuiltinString().

static YCPValue s_size ( const YCPString s)
static

size size-string Returns the number of characters of the string s

Parameters
strings String
Returns
integer Size of string s

Notice, that size(nil) -> nil

size("size") -> 4

References YCPElement::isNull().

Referenced by YCPBuiltinString::YCPBuiltinString().

static YCPValue s_substring1 ( const YCPString s,
const YCPInteger i1 
)
static

substring substring-rest Returns part of a string

Parameters
stringSTRING Original String
integerOFFSET Start position integer LENGTH Length of new string
Returns
string

Returns the portion of STRING specified by the OFFSET and LENGHT parameters. OFFSET starts with 0.

substring ("some text", 5) -> "text" substring ("some text", 42) -> "" substring ("some text", 5, 2) -> "te" substring ("some text", 42, 2) -> "" substring("123456789", 2, 3) -> "345"

References YCPElement::isNull(), and ycp2error.

Referenced by YCPBuiltinString::YCPBuiltinString().

static YCPValue s_substring2 ( const YCPString s,
const YCPInteger i1,
const YCPInteger i2 
)
static

substring substring-length Extracts a substring

Extracts a substring of the string STRING, starting at OFFSET after the first one with length of at most LENGTH. OFFSET starts with 0.

Parameters
stringSTRING
integerOFFSET
integerLENGTH
Returns
string substring ("some text", 5, 2) -> "te" substring ("some text", 42, 2) -> "" substring("123456789", 2, 3) -> "345"

References YCPElement::isNull(), and ycp2error.

Referenced by YCPBuiltinString::YCPBuiltinString().

static YCPValue s_timestring ( const YCPString fmt,
const YCPInteger time,
const YCPBoolean utc_flag 
)
static

timestring Returns time string Combination of standard libc functions gmtime or localtime and strftime.

Parameters
stringFORMAT
integerTIME
booleanUTC
Returns
string

timestring ("%F %T %Z", time (), false) -> "2004-08-24 14:55:05 CEST"

References format(), and YCPElement::isNull().

Referenced by YCPBuiltinString::YCPBuiltinString().

static YCPValue s_toascii ( const YCPString s)
static

toascii Returns characters below 0x7F included in STRING

Parameters
stringSTRING
Returns
string

Returns a string that results from string STRING by copying each character that is below 0x7F (127).

toascii ("aBë") -> "aB" toascii ("123+-abcABCöëä") -> "123+-abcABC"

References YCPElement::isNull().

Referenced by YCPBuiltinString::YCPBuiltinString().

static YCPValue s_tohexstring1 ( const YCPInteger i)
static

tohexstring tohexstring-1 Converts an integer to a hexadecimal string.

Parameters
integernumber Number
Returns
string number in Hex

tohexstring (31) -> "0x1f"

References YCPElement::isNull().

Referenced by YCPBuiltinString::YCPBuiltinString().

static YCPValue s_tohexstring2 ( const YCPInteger i,
const YCPInteger w 
)
static

tohexstring tohexstring-2 Converts an integer to a hexadecimal string.

Parameters
integernumber Number
integerwidth Width
Returns
string number in Hex

tohexstring (31, 1) -> "0x1f" tohexstring (31, 4) -> "0x001f"

References YCPElement::isNull().

Referenced by YCPBuiltinString::YCPBuiltinString().

static YCPValue s_tolower ( const YCPString s)
static

tolower Makes a string lowercase

Parameters
strings String
Returns
string String in lower case

Returns string with all alphabetic characters converted to lowercase. Notice: National characters are left unchanged. Use when working with e.g. options in config files.

tolower ("aBcDeF") -> "abcdef" tolower ("ABCÁÄÖČ") -> "abcÁÄÖČ"

References YCPElement::isNull().

Referenced by YCPBuiltinString::YCPBuiltinString().

static YCPValue s_tostring ( const YCPValue v)
static

tostring tostring-any Converts a value to a string.

Parameters
anyVALUE
Returns
string

tostring(.path) -> ".path" tostring([1,2,3]) -> "[1, 2, 3]" tostring($[1:1,2:2,3:3]) -> "$[1:1, 2:2, 3:3]" tostring(<tt>Empty()) -> "</tt>Empty ()"

References YCPElement::isNull(), and YT_STRING.

Referenced by YCPBuiltinString::YCPBuiltinString().

static YCPValue s_toupper ( const YCPString s)
static

toupper Makes a string uppercase

Returns string with all alphabetic characters converted to uppercase. Notice: National characters are left unchanged. Use when working with e.g. options in config files.

See Also
toupper toupper ("aBcDeF") -> "ABCDEF" toupper ("abcáäöč") -> "ABCáäöč"

References YCPElement::isNull().

Referenced by YCPBuiltinString::YCPBuiltinString().

Reg_Ret solve_regular_expression ( const char *  input,
const char *  pattern,
const char *  result 
)

Variable Documentation

StaticDeclaration static_declarations

Generated on a sunny day for yast2-core by doxygen 1.8.6