AjPRegexp ajRegComp (
const AjPStr rexp
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| const AjPStr | rexp | Input | Regular expression string. |
| AjPRegexp | RETURN | Compiled regular expression. |
From EMBOSS 1.0.0
AjPRegexp ajRegCompC (
const char* rexp
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| const char* | rexp | Input | Regular expression character string. |
| AjPRegexp | RETURN | Compiled regular expression. |
From EMBOSS 1.0.0
AjPRegexp ajRegCompCase (
const AjPStr rexp
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| const AjPStr | rexp | Input | Regular expression string. |
| AjPRegexp | RETURN | Compiled regular expression. |
From EMBOSS 2.8.0
AjPRegexp ajRegCompCaseC (
const char* rexp
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| const char* | rexp | Input | Regular expression character string. |
| AjPRegexp | RETURN | Compiled regular expression. |
From EMBOSS 2.8.0
AjBool ajRegExec (
AjPRegexp prog,
const AjPStr str
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPRegexp | prog | Modify | Compiled regular expression. |
| const AjPStr | str | Input | String to be compared. |
| AjBool | RETURN | ajTrue if a match was found. |
From EMBOSS 1.0.0
AjBool ajRegExecC (
AjPRegexp prog,
const char* str
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPRegexp | prog | Modify | Compiled regular expression. |
| const char* | str | Input | String to be compared. |
| AjBool | RETURN | ajTrue if a match was found. |
From EMBOSS 1.0.0
AjBool ajRegExecall (
AjPRegexp prog,
const AjPStr str
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPRegexp | prog | Modify | Compiled regular expression. |
| const AjPStr | str | Input | String to be compared. |
| AjBool | RETURN | ajTrue if a match was found. |
From EMBOSS 1.0.0
AjBool ajRegExecallC (
AjPRegexp prog,
const char* str
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPRegexp | prog | Modify | Compiled regular expression. |
| const char* | str | Input | String to be compared. |
| AjBool | RETURN | ajTrue if a match was found. |
From EMBOSS 1.0.0
ajint ajRegGetMatches (
const AjPRegexp rp
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| const AjPRegexp | rp | Input | Compiled regular expression. |
| ajint | RETURN | Number of matches found |
From EMBOSS 1.0.0
ajint ajRegOffset (
const AjPRegexp rp
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| const AjPRegexp | rp | Input | Compiled regular expression. |
| ajint | RETURN | Offset of match from start of string. -1 if the string and the expression do not match. |
From EMBOSS 1.0.0
ajint ajRegOffsetI (
const AjPRegexp rp,
ajint isub
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| const AjPRegexp | rp | Input | Compiled regular expression. |
| ajint | isub | Input | Substring number. |
| ajint | RETURN | Offset of match from start of string. -1 if the string and the expression do not match. |
From EMBOSS 1.0.0
ajint ajRegLenI (
const AjPRegexp rp,
ajint isub
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| const AjPRegexp | rp | Input | Compiled regular expression. |
| ajint | isub | Input | Substring number. |
| ajint | RETURN | Substring length, or 0 if not found. |
From EMBOSS 1.0.0
AjBool ajRegPost (
const AjPRegexp rp,
AjPStr* post
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| const AjPRegexp | rp | Input | Compiled regular expression. |
| AjPStr* | post | Output | String to hold the result. |
| AjBool | RETURN | ajTrue on success. |
From EMBOSS 1.0.0
AjBool ajRegPostC (
const AjPRegexp rp,
const char** post
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| const AjPRegexp | rp | Input | Compiled regular expression. |
| const char** | post | Output | Character string to hold the result. |
| AjBool | RETURN | ajTrue on success. |
From EMBOSS 1.0.0
AjBool ajRegPre (
const AjPRegexp rp,
AjPStr* dest
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| const AjPRegexp | rp | Input | Compiled regular expression. |
| AjPStr* | dest | Output | String to hold the result. |
| AjBool | RETURN | ajTrue on success. |
From EMBOSS 2.8.0
AjBool ajRegSubI (
const AjPRegexp rp,
ajint isub,
AjPStr* dest
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| const AjPRegexp | rp | Input | Compiled regular expression. |
| ajint | isub | Input | Substring number. |
| AjPStr* | dest | Output | String to hold the result. |
| AjBool | RETURN | ajTrue if a substring was defined ajFalse if the substring is not matched ajFalse if isub is out of range |
From EMBOSS 1.0.0
void ajRegFree (
AjPRegexp* pexp
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPRegexp* | pexp | Delete | Compiled regular expression. |
| void | RETURN |
From EMBOSS 1.0.0
void ajRegTrace (
const AjPRegexp rexp
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| const AjPRegexp | rexp | Input | Compiled regular expression. |
| void | RETURN |
From EMBOSS 1.0.0
void ajRegExit (
void
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| void | RETURN |
From EMBOSS 2.7.0