String function ( String arg0 ) { String loc0 = null ; if ( arg0 != null ) { Matcher loc1 = LINKPATTERN . loc1 ( arg0 ) ; if ( loc1 . matches ( ) ) { loc0 = loc1 . group ( 2 ) + loc1 . group ( 3 ) ; } else { loc0 = cleanupPreFormatted ( arg0 ) ; } } return loc0 ; }
removes result of wiki formatting for e.g. email addresses if needed . concode_field_sep Pattern IMAGEPATTERN concode_elem_sep Pattern PRE_FORMATTED_PATTERN concode_elem_sep Pattern LINKPATTERN concode_field_sep String getUrl concode_elem_sep String cleanupPreFormatted