Regular Expressions 101

Community Patterns

Parse get_version output including SVN Keywords

0

Regular Expression
PCRE (PHP <7.3)

/
(.*?),(,|\.)?
/
mg

Description

Grabs all but last SVN keyword. Uses "," as delimiter (need to get rid of (Wed 26 Aug 2018) first)

PL/SQL: Unit: ZIP_UTIL_PKG, type: PACKAGE BODY. Code Type: NATIVE. SVN: File date: $Date: 2019-08-26 10:28:11 -0500 $, Revision: $Revision: 18213 $, $Author: mark.s $.

Submitted by anonymous - 5 years ago