private void tryHandleNamedLink ( final String tagString ) { final String namedLinkPatternString = PLAIN_LINK + "\\.(\\w+-?)+=(\\w+(-|_)?)+" ; final Pattern namedLinkPattern = Pattern . compile ( namedLinkPatternString , Pattern . CASE_INSENSITIVE ) ; if ( namedLinkPattern . matcher ( tagString ) . matches ( ) ) { final String type = tagString . split ( COMPOSITE_TAG_DELIMITER ) [ 0 ] . split ( "[.]" ) [ 1 ] ; final String name = tagString . split ( COMPOSITE_TAG_DELIMITER ) [ 1 ] ; getScenarioLinks ( ) . add ( ResultsUtils . createLink ( null , name , null , type ) ) ; } else { LOGGER . warn ( "Composite named tag {} does not match regex {}. Skipping" , tagString , namedLinkPatternString ) ; } }
Handle composite named links .