Menu

#381 New string function: 'textparse()'

v1.1.x
closed
None
v1.1.1
New Functionality
2018-11-11
2018-09-16
Erik Hänel
No

Add the string function textparse(), which will parse a string according to a predefined string pattern into multiple types.

Analysis:

The function may be implemented as any other string function. The types "string" and "float" are determined by adding quotation marks around the strings. The internal algorithm will walk through the pattern and use the text sections between the identifiers as search patterns in the passed text string.

Implementation:

  • Implementation: The implementation was done as proposed by the analysis.
  • Revision: [r396]
  • Implementation test: Some different texts were used together with patterns to split the texts up into different tokens. This worked without any deviations.

Documentation:

  • ChangesLog: updated
  • Comments: The new function was commented sufficiently
  • Documentation articles: Not needed.
  • Language files: The new functions were added to the language strings

Tests:

This functionality was tested in the automatic SW tests. No deviations detected.

Related

Commit: [r396]

Discussion

  • Erik Hänel

    Erik Hänel - 2018-09-16
    • status: open --> accepted
     
  • Erik Hänel

    Erik Hänel - 2018-09-21
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1 +1,18 @@
     Add the string function `textparse()`, which will parse a string according to a predefined string pattern into multiple types.
    +
    +###Analysis:
    +(*Describe, what's the issue and which changes have to be made*)
    +
    +###Implementation:
    +* Implementation: (*Describe, what you've changed*) 
    +* Revision: [rXXX]
    +* Implementation test: (*Describe the type of test, which you performed, and if it was successful*)
    +
    +###Documentation:
    +* ChangesLog: (*Have you updated the changes log?*)
    +* Comments: (*Have you written comments in the code, which describe your change?*)
    +* Documentation articles: (*Have you updated the documentation articles?*)
    +* Language files: (*Have you updated the language files?*)
    +
    +###Tests:
    +(*Describe, which tests you performed and their outcome*)
    
    • status: accepted --> analyzing
     
  • Erik Hänel

    Erik Hänel - 2018-09-22
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,7 +1,7 @@
     Add the string function `textparse()`, which will parse a string according to a predefined string pattern into multiple types.
    
     ###Analysis:
    -(*Describe, what's the issue and which changes have to be made*)
    +The function may be implemented as any other string function. The types "string" and "float" are determined by adding quotation marks around the strings. The internal algorithm will walk through the pattern and use the text sections between the identifiers as search patterns in the passed text string.
    
     ###Implementation:
    
     * Implementation: (*Describe, what you've changed*) 
    
    • status: analyzing --> implementing
     
  • Erik Hänel

    Erik Hänel - 2018-09-22
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -4,15 +4,15 @@
     The function may be implemented as any other string function. The types "string" and "float" are determined by adding quotation marks around the strings. The internal algorithm will walk through the pattern and use the text sections between the identifiers as search patterns in the passed text string.
    
     ###Implementation:
    -* Implementation: (*Describe, what you've changed*) 
    -* Revision: [rXXX]
    -* Implementation test: (*Describe the type of test, which you performed, and if it was successful*)
    +* Implementation: The implementation was done as proposed by the analysis.
    +* Revision: [r396]
    +* Implementation test: Some different texts were used together with patterns to split the texts up into different tokens. This worked without any deviations.
    
     ###Documentation:
    -* ChangesLog: (*Have you updated the changes log?*)
    -* Comments: (*Have you written comments in the code, which describe your change?*)
    -* Documentation articles: (*Have you updated the documentation articles?*)
    -* Language files: (*Have you updated the language files?*)
    +* ChangesLog: updated
    +* Comments: The new function was commented sufficiently
    +* Documentation articles: Not needed.
    +* Language files: The new functions were added to the language strings
    
     ###Tests:
     (*Describe, which tests you performed and their outcome*)
    
    • status: implementing --> testing
     

    Related

    Commit: [r396]

  • Erik Hänel

    Erik Hänel - 2018-11-11
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -15,4 +15,4 @@
    
     * Language files: The new functions were added to the language strings
    
     ###Tests:
    -(*Describe, which tests you performed and their outcome*)
    +This functionality was tested in the automatic SW tests. No deviations detected.
    
    • status: testing --> closed
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB