Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Warning

Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8 for Server/Data Center? Click here !

Info
titleAvailability

This routine is available starting with katl-commons SIL Engine™ 1.0.

Syntax

fileContains(path_to_file, regex [, charset])

...

Excerpt

Returns "true" if the file contains any string that matches the specified regex. If the regex contains a backslash replace it with two backslashes otherwise you will get a syntax error.

Parameters

Parameter name

Type

Required

Description

path_to_file

string

Yes

Specifies the file name.

regex

string

Yes

Specifies search string into the file path_to_file.

charsetstringNoThe charset, optional. If you need to open a text file and the encoding is different, use a value that matches a valid charset name. Available starting with katl-commons 4.0.0.

Return type

boolean (true/false)

...

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "file_routines"
labelsfile_routines