Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id CC235200AF8 for ; Thu, 5 May 2016 20:17:43 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id CAA27160A03; Thu, 5 May 2016 18:17:43 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 1DFD91609F3 for ; Thu, 5 May 2016 20:17:42 +0200 (CEST) Received: (qmail 92703 invoked by uid 500); 5 May 2016 18:17:42 -0000 Mailing-List: contact dev-help@jmeter.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jmeter.apache.org Delivered-To: mailing list dev@jmeter.apache.org Received: (qmail 92689 invoked by uid 99); 5 May 2016 18:17:42 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 May 2016 18:17:42 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 9A0BF1802E7 for ; Thu, 5 May 2016 18:17:41 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.198 X-Spam-Level: * X-Spam-Status: No, score=1.198 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id XGO-yJ3V_Lr4 for ; Thu, 5 May 2016 18:17:39 +0000 (UTC) Received: from mail-qk0-f171.google.com (mail-qk0-f171.google.com [209.85.220.171]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 92F915F1AE for ; Thu, 5 May 2016 18:17:38 +0000 (UTC) Received: by mail-qk0-f171.google.com with SMTP id n63so47619863qkf.0 for ; Thu, 05 May 2016 11:17:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=DVJ+pewb6Z5+MqVNEEMNdMIwXL3WI0c4D+Aqxu+yR7c=; b=ceIU0aC/A0zYgirJrvH9r4gldD0rbdq2xWAPHBnOJqUXKPFDOT2538Z0Ffdzph/bZm AakJ/KJR9/pBEK7POKwd9UGIc1MyUTx4wrV9htSkmNIKGPK+Sq5bxo3gzzQxTMmeKtNa ZUafI/p+lkKqbwRs/6xyKN3quZwr+yJeYgkJl/W7IdhFUM6PnSv68UjnYHqrmj13t1og 1y8rZ/FNkFToRLSmP4f0MlRayiv9yZ6P9ogy+qlFCrWcRMtjhc3W27UovQRmPvLp2SN3 wXwNu4GciG67721ydXOt/KdW1qHzDMCLoSdMHduHl2V7AUbwonKzZVzLOP8fF1U9sZvC zeDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=DVJ+pewb6Z5+MqVNEEMNdMIwXL3WI0c4D+Aqxu+yR7c=; b=DkGi0oMR5pw5tBUypRDMwTln0CiO/TP2LCFT6raB/YPB5kEnkjLRg4Gpe46wHL6WM0 lbh1xXNe7BvpWuZpf59x6QXk3e0ogZvbGzcybhi5W4FZtjzJohBtmPOi9h58FQjBhYqs M6A70JXEpUsQ1z7NexYJyEAWhSmHm3sTKbltAbOeE8EGIFrIcuFaNC7KtYAZz6gPusn8 NfIYUKdHd+XRXrQyB5uTLqdP/VKGecEnqPxmg/Wd0zMJ2qpbHeYWZ7XY9Ua0HyA/9J5U LY5ngQZBbJ8aRvZUBXUaNWkyuSkRqcDwW4EZsqXG0EFS8KYTBHY6s3FNq6GzyqbqXw0C g4Gw== X-Gm-Message-State: AOPr4FU5eYe4a5eetLM4/9IZaGiNhw327t8v/FayhMKmnJXwyYLsbpH5ErGD1BnEOuI8gGRGVJeAjaeCcw0QHA== MIME-Version: 1.0 X-Received: by 10.55.171.213 with SMTP id u204mr16110803qke.114.1462472257730; Thu, 05 May 2016 11:17:37 -0700 (PDT) Received: by 10.55.160.77 with HTTP; Thu, 5 May 2016 11:17:37 -0700 (PDT) In-Reply-To: <1462469014.20012.15.camel@internetallee.de> References: <1462469014.20012.15.camel@internetallee.de> Date: Thu, 5 May 2016 20:17:37 +0200 Message-ID: Subject: Re: regex for jmeter.reportgenerator.exporter.html.series_filter From: Philippe Mouawad To: "dev@jmeter.apache.org" Content-Type: multipart/alternative; boundary=001a114dbbe66a822705321c5bf8 archived-at: Thu, 05 May 2016 18:17:44 -0000 --001a114dbbe66a822705321c5bf8 Content-Type: text/plain; charset=UTF-8 Hi Felix, 1. true 2. I don't understand the problem , can you clarify for me ? 3. Yes we want to trap: - Sample1 - Sample1-success - Sample1-failure - Sample2 - Sample2-success - Sample2-failure Ideally not Sample2XXX-success. Do you see a better regex ? Thanks On Thu, May 5, 2016 at 7:23 PM, Felix Schumacher < felix.schumacher@internetallee.de> wrote: > Hi all, > > the regex for series_filter is currently set to > > ((^Sample1)|(^Sample2))(-success|-failure)? > > in the user.properties file. > > The regex could be written a bit shorter as > > ^Sample[12](-success|-failure)? > > But there are still a few things to consider. > > 1. I don't think that we are interested in the captured groups and > could tell the regex engine that by using (?:...) instead of (...). > > 2. The ^ in front of Sample1 makes it look like the regex would be used > as "find", as there is no $ to indicate the end of a line. > > 3. The ? after the last group indicates that the results could be one > of > + Sample1 > + Sample1-success > + Sample1-failure > + Sample2... > Is this true? Or is just ...-success and ...-failure? In that case > the ? at the end of the regex should be removed. > > Regards, > Felix > > > > -- Cordialement. Philippe Mouawad. --001a114dbbe66a822705321c5bf8--