Regular Expressions 101

Save & Share

Flavor

  • PCRE2 (PHP >=7.3)
  • PCRE (PHP <7.3)
  • ECMAScript (JavaScript)
  • Python
  • Golang
  • Java 8
  • .NET 7.0 (C#)
  • Rust
  • Regex Flavor Guide

Function

  • Match
  • Substitution
  • List
  • Unit Tests

Tools

Sponsors
There are currently no sponsors. Become a sponsor today!
An explanation of your regex will be automatically generated as you type.
Detailed match information will be displayed here automatically.
  • All Tokens
  • Common Tokens
  • General Tokens
  • Anchors
  • Meta Sequences
  • Quantifiers
  • Group Constructs
  • Character Classes
  • Flags/Modifiers
  • Substitution
  • A single character of: a, b or c
    [abc]
  • A character except: a, b or c
    [^abc]
  • A character in the range: a-z
    [a-z]
  • A character not in the range: a-z
    [^a-z]
  • A character in the range: a-z or A-Z
    [a-zA-Z]
  • Any single character
    .
  • Alternate - match either a or b
    a|b
  • Any whitespace character
    \s
  • Any non-whitespace character
    \S
  • Any digit
    \d
  • Any non-digit
    \D
  • Any word character
    \w
  • Any non-word character
    \W
  • Non-capturing group
    (?:...)
  • Capturing group
    (...)
  • Zero or one of a
    a?
  • Zero or more of a
    a*
  • One or more of a
    a+
  • Exactly 3 of a
    a{3}
  • 3 or more of a
    a{3,}
  • Between 3 and 6 of a
    a{3,6}
  • Start of string
    ^
  • End of string
    $
  • A word boundary
    \b
  • Non-word boundary
    \B

Regular Expression

/
/
gm

Test String

Code Generator

Generated Code

$re = '/^public class (?<NomClasse>[a-zA-Z.]+)( extends (?<NomExtends>[a-zA-Z.]+))?( implements (?<NomImplement>[a-zA-Z.]+))?{$/m'; $str = 'Compiled from "FacadeAnalyseFinanciere.java" public class desj.fcdq.af.facade.FacadeAnalyseFinanciere extends java.lang.Object implements java.io.Serializable{ public desj.fcdq.af.facade.FacadeAnalyseFinanciere(); Code: 0: aload_0 1: invokespecial #1; //Method java/lang/Object."<init>":()V 4: return public static java.lang.StringBuffer detailAnalyseConsolideeFormatTexte(java.lang.String, java.util.Collection, desj.commun.infra.ContexteInfra) throws java.rmi.RemoteException, desj.commun.infracentrale.ejbbase.ControleurException; Code: 0: aconst_null 1: astore_3 2: aconst_null 3: astore 4 5: aconst_null 6: astore 5 8: invokestatic #2; //Method desj/fcdq/af/proxydossierdesjardins/ProxyDossierDesjardins.getInstance:()Ldesj/fcdq/af/proxydossierdesjardins/ProxyDossierDesjardins; 11: aload_2 12: invokevirtual #3; //Method desj/fcdq/af/proxydossierdesjardins/ProxyDossierDesjardins.libererDossiersDesjardins:(Ldesj/commun/infra/ContexteInfra;)V 15: aload_2 16: invokestatic #4; //Method desj/commun/infracentrale/persistance/ManufactureCachePersistance.obtenirInstanceDynamique:(Ldesj/commun/infra/ContexteInfra;)Ldesj/commun/infracentrale/persistance/CacheDeNavigation; 19: astore 4 21: aload_0 22: aload_2 23: invokestatic #5; //Method desj/fcdq/af/RequetePersistanceFcdqAF.chargerAnalyseFinanciereConsolidee:(Ljava/lang/String;Ldesj/commun/infra/ContexteInfra;)Ljava/lang/Long; 26: astore_3 27: aload_3 28: ifnonnull 43 31: new #6; //class desj/commun/infracentrale/ejbbase/ControleurException 34: dup 35: invokestatic #7; //Method desj/fcdq/af/ClesMessagesFcdqAf.getANALYSE_NON_EXISTANTE:()Ljava/lang/String; 38: aconst_null 39: invokespecial #8; //Method desj/commun/infracentrale/ejbbase/ControleurException."<init>":(Ljava/lang/String;Ljava/lang/String;)V 42: athrow 43: new #9; //class desj/fcdq/af/objetcle/CleUniqueAnalyseFinanciere 46: dup 47: aload_3 48: invokespecial #10; //Method desj/fcdq/af/objetcle/CleUniqueAnalyseFinanciere."<init>":(Ljava/lang/Long;)V 51: astore 6 53: aload 4 55: ldc_w #11; //class desj/fcdq/af/modele/AnalyseFinanciere 58: aload 6 60: iconst_1 61: invokevirtual #12; //Method desj/commun/infracentrale/persistance/CacheDeNavigation.obtenirOP:(Ljava/lang/Class;Ldesj/commun/infracentrale/persistance/ObjetCle;Z)Ldesj/commun/infracentrale/persistance/ObjetPersistant; 64: checkcast #11; //class desj/fcdq/af/modele/AnalyseFinanciere 67: astore 5 69: aconst_null 70: astore 7 72: aload_1 73: invokeinterface #13, 1; //InterfaceMethod java/util/Collection.iterator:()Ljava/util/Iterator; 78: astore 8 80: aload 8 82: invokeinterface #14, 1; //InterfaceMethod java/util/Iterator.hasNext:()Z 87: ifeq 112 90: aload 8 92: invokeinterface #15, 1; //InterfaceMethod java/util/Iterator.next:()Ljava/lang/Object; 97: checkcast #16; //class java/lang/Long 100: astore 7 102: aload 7 104: aload 4 106: invokestatic #17; //Method desj/fcdq/ef/RequeteChargement.chargerSituationFinanciere:(Ljava/lang/Long;Ldesj/commun/infracentrale/persistance/CacheDeNavigation;)V 109: goto 80 112: aload 5 114: aload 4 116: invokevirtual #18; //Method desj/fcdq/af/modele/AnalyseFinanciere.setCacheDeNavigation:(Ldesj/commun/infracentrale/persistance/CacheDeNavigation;)V 119: aload 5 121: checkcast #19; //class desj/fcdq/af/modele/AnalyseFinanciereConsolidee 124: aload_1 125: invokevirtual #20; //Method desj/fcdq/af/modele/AnalyseFinanciereConsolidee.setIdsPersonnesDesjardins:(Ljava/util/Collection;)V 128: aload 5 130: new #21; //class desj/fcdq/af/proxy/ProxyInfocal 133: dup 134: invokespecial #22; //Method desj/fcdq/af/proxy/ProxyInfocal."<init>":()V 137: invokevirtual #23; //Method desj/fcdq/af/modele/AnalyseFinanciere.setProxyInfocal:(Ldesj/fcdq/af/proxy/ProxyInfocal;)V 140: aload 5 142: aload_2 143: invokevirtual #24; //Method desj/fcdq/af/modele/AnalyseFinanciere.calculer:(Ldesj/commun/infra/ContexteInfra;)V 146: aload 5 148: aload_2 149: invokestatic #25; //Method desj/fcdq/af/facade/FormateLigneAnalyse.buildAnalyseText:(Ldesj/fcdq/af/modele/AnalyseFinanciere;Ldesj/commun/infra/ContexteInfra;)Ljava/lang/StringBuffer; 152: areturn 153: astore 6 155: new #6; //class desj/commun/infracentrale/ejbbase/ControleurException 158: dup 159: aload 6 161: invokestatic #27; //Method desj/commun/appl/ClesMessagesCommunAppl.getERR_MAJEURE_TRAITEMENT:()Ljava/lang/String; 164: invokespecial #28; //Method desj/commun/infracentrale/ejbbase/ControleurException."<init>":(Ljava/lang/Exception;Ljava/lang/String;)V 167: athrow Exception table: from to target type 8 152 153 Class java/lang/Exception public static java.lang.StringBuffer detailAnalyseIndividuelleFormatTexte(java.lang.String, java.lang.Long, desj.commun.infra.ContexteInfra) throws java.rmi.RemoteException, desj.commun.infracentrale.ejbbase.ControleurException; Code: 0: invokestatic #2; //Method desj/fcdq/af/proxydossierdesjardins/ProxyDossierDesjardins.getInstance:()Ldesj/fcdq/af/proxydossierdesjardins/ProxyDossierDesjardins; 3: aload_2 4: invokevirtual #3; //Method desj/fcdq/af/proxydossierdesjardins/ProxyDossierDesjardins.libererDossiersDesjardins:(Ldesj/commun/infra/ContexteInfra;)V 7: aload_2 8: invokestatic #4; //Method desj/commun/infracentrale/persistance/ManufactureCachePersistance.obtenirInstanceDynamique:(Ldesj/commun/infra/ContexteInfra;)Ldesj/commun/infracentrale/persistance/CacheDeNavigation; 11: astore_3 12: aconst_null 13: astore 4 15: aload_1 16: aload_0 17: aload_2 18: invokestatic #29; //Method desj/fcdq/af/RequetePersistanceFcdqAF.chargerAnalyseFinanciere:(Ljava/lang/Long;Ljava/lang/String;Ldesj/commun/infra/ContexteInfra;)Ljava/lang/Long; 21: astore 5 23: aload 5 25: ifnonnull 40 28: new #6; //class desj/commun/infracentrale/ejbbase/ControleurException 31: dup 32: invokestatic #7; //Method desj/fcdq/af/ClesMessagesFcdqAf.getANALYSE_NON_EXISTANTE:()Ljava/lang/String; 35: aconst_null 36: invokespecial #8; //Method desj/commun/infracentrale/ejbbase/ControleurException."<init>":(Ljava/lang/String;Ljava/lang/String;)V 39: athrow 40: aload_1 41: aload_3 42: invokestatic #17; //Method desj/fcdq/ef/RequeteChargement.chargerSituationFinanciere:(Ljava/lang/Long;Ldesj/commun/infracentrale/persistance/CacheDeNavigation;)V 45: new #9; //class desj/fcdq/af/objetcle/CleUniqueAnalyseFinanciere 48: dup 49: aload 5 51: invokespecial #10; //Method desj/fcdq/af/objetcle/CleUniqueAnalyseFinanciere."<init>":(Ljava/lang/Long;)V 54: astore 6 56: aload_3 57: ldc_w #30; //class desj/fcdq/af/modele/AnalyseFinanciereIndividuelle 60: aload 6 62: invokevirtual #31; //Method desj/commun/infracentrale/persistance/CacheDeNavigation.obtenirOP:(Ljava/lang/Class;Ldesj/commun/infracentrale/persistance/ObjetCle;)Ldesj/commun/infracentrale/persistance/ObjetPersistant; 65: checkcast #11; //class desj/fcdq/af/modele/AnalyseFinanciere 68: astore 4 70: aload 4 72: aload_3 73: invokevirtual #18; //Method desj/fcdq/af/modele/AnalyseFinanciere.setCacheDeNavigation:(Ldesj/commun/infracentrale/persistance/CacheDeNavigation;)V 76: aload 4 78: new #21; //class desj/fcdq/af/proxy/ProxyInfocal 81: dup 82: invokespecial #22; //Method desj/fcdq/af/proxy/ProxyInfocal."<init>":()V 85: invokevirtual #23; //Method desj/fcdq/af/modele/AnalyseFinanciere.setProxyInfocal:(Ldesj/fcdq/af/proxy/ProxyInfocal;)V 88: aload 4 90: aload_2 91: invokevirtual #24; //Method desj/fcdq/af/modele/AnalyseFinanciere.calculer:(Ldesj/commun/infra/ContexteInfra;)V 94: aload 4 96: aload_2 97: invokestatic #25; //Method desj/fcdq/af/facade/FormateLigneAnalyse.buildAnalyseText:(Ldesj/fcdq/af/modele/AnalyseFinanciere;Ldesj/commun/infra/ContexteInfra;)Ljava/lang/StringBuffer; 100: areturn 101: astore_3 102: new #6; //class desj/commun/infracentrale/ejbbase/ControleurException 105: dup 106: aload_3 107: invokestatic #27; //Method desj/commun/appl/ClesMessagesCommunAppl.getERR_MAJEURE_TRAITEMENT:()Ljava/lang/String; 110: invokespecial #28; //Method desj/commun/infracentrale/ejbbase/ControleurException."<init>":(Ljava/lang/Exception;Ljava/lang/String;)V 113: athrow Exception table: from to target type 0 100 101 Class java/lang/Exception public void detruireAnalyseFinanciere(java.lang.Long, java.lang.String, java.lang.Long, desj.commun.infra.ContexteInfra) throws desj.commun.infracentrale.ejbbase.ControleurException; Code: 0: aconst_null 1: astore 5 3: aconst_null 4: astore 6 6: aconst_null 7: astore 7 9: aload_1 10: ifnonnull 166 13: aload_2 14: ifnull 173 17: aload_3 18: ifnull 57 21: aload_3 22: aload_2 23: aload 4 25: invokestatic #29; //Method desj/fcdq/af/RequetePersistanceFcdqAF.chargerAnalyseFinanciere:(Ljava/lang/Long;Ljava/lang/String;Ldesj/commun/infra/ContexteInfra;)Ljava/lang/Long; 28: astore 5 30: aload_0 31: aload 5 33: aload 4 35: invokespecial #45; //Method detruireAnalyseFinanciere:(Ljava/lang/Long;Ldesj/commun/infra/ContexteInfra;)V 38: aload_2 39: aload 4 41: invokestatic #5; //Method desj/fcdq/af/RequetePersistanceFcdqAF.chargerAnalyseFinanciereConsolidee:(Ljava/lang/String;Ldesj/commun/infra/ContexteInfra;)Ljava/lang/Long; 44: astore 6 46: aload_0 47: aload 6 49: aload 4 51: invokespecial #45; //Method detruireAnalyseFinanciere:(Ljava/lang/Long;Ldesj/commun/infra/ContexteInfra;)V 54: goto 173 57: aload_2 58: aload 4 60: invokestatic #46; //Method desj/fcdq/af/RequetePersistanceFcdqAF.chargerAnalysesFinancieres:(Ljava/lang/String;Ldesj/commun/infra/ContexteInfra;)Ljava/util/Collection; 63: astore 7 65: aconst_null 66: astore 8 68: aload 4 70: invokestatic #4; //Method desj/commun/infracentrale/persistance/ManufactureCachePersistance.obtenirInstanceDynamique:(Ldesj/commun/infra/ContexteInfra;)Ldesj/commun/infracentrale/persistance/CacheDeNavigation; 73: astore 8 75: aload 8 77: invokevirtual #37; //Method desj/commun/infracentrale/persistance/CacheDeNavigation.begin:()V 80: aload 7 82: ifnull 132 85: aload 7 87: invokeinterface #13, 1; //InterfaceMethod java/util/Collection.iterator:()Ljava/util/Iterator; 92: astore 9 94: aload 9 96: ifnull 132 99: aload 9 101: invokeinterface #14, 1; //InterfaceMethod java/util/Iterator.hasNext:()Z 106: ifeq 132 109: aload 9 111: invokeinterface #15, 1; //InterfaceMethod java/util/Iterator.next:()Ljava/lang/Object; 116: checkcast #16; //class java/lang/Long 119: astore 5 121: aload_0 122: aload 5 124: aload 8 126: invokespecial #38; //Method detruireAnalyseFinanciere:(Ljava/lang/Long;Ldesj/commun/infracentrale/persistance/CacheDeNavigation;)V 129: goto 99 132: aload 8 134: new #39; //class desj/commun/infracentrale/persistance/ContexteFonctionnel 137: dup 138: invokestatic #40; //Method desj/fcdq/af/ConstantesFcdqAf.getTYPE_AF_MAJ:()Ljava/lang/String; 141: invokestatic #41; //Method desj/fcdq/af/ConstantesFcdqAf.getSTYPE_ANALYSE:()Ljava/lang/String; 144: invokespecial #42; //Method desj/commun/infracentrale/persistance/ContexteFonctionnel."<init>":(Ljava/lang/String;Ljava/lang/String;)V 147: invokevirtual #43; //Method desj/commun/infracentrale/persistance/CacheDeNavigation.commitAndSync:(Ldesj/commun/infracentrale/persistance/ContexteFonctionnel;)V 150: goto 163 153: astore 9 155: aload 8 157: invokevirtual #44; //Method desj/commun/infracentrale/persistance/CacheDeNavigation.rollback:()V 160: aload 9 162: athrow 163: goto 173 166: aload_0 167: aload_1 168: aload 4 170: invokespecial #45; //Method detruireAnalyseFinanciere:(Ljava/lang/Long;Ldesj/commun/infra/ContexteInfra;)V 173: goto 191 176: astore 8 178: new #6; //class desj/commun/infracentrale/ejbbase/ControleurException 181: dup 182: aload 8 184: invokestatic #27; //Method desj/commun/appl/ClesMessagesCommunAppl.getERR_MAJEURE_TRAITEMENT:()Ljava/lang/String; 187: invokespecial #28; //Method desj/commun/infracentrale/ejbbase/ControleurException."<init>":(Ljava/lang/Exception;Ljava/lang/String;)V 190: athrow 191: return Exception table: from to target type 68 150 153 Class java/lang/Exception 9 173 176 Class java/lang/Exception public void detruireAnalyseFinanciereCosolide(java.lang.String, desj.commun.infra.ContexteInfra) throws desj.commun.infracentrale.ejbbase.ControleurException; Code: 0: aconst_null 1: astore_3 2: aconst_null 3: astore 4 5: aconst_null 6: astore 5 8: aconst_null 9: astore 6 11: aload_1 12: ifnull 35 15: aload_1 16: aload_2 17: invokestatic #5; //Method desj/fcdq/af/RequetePersistanceFcdqAF.chargerAnalyseFinanciereConsolidee:(Ljava/lang/String;Ldesj/commun/infra/ContexteInfra;)Ljava/lang/Long; 20: astore 4 22: aload_2 23: invokestatic #4; //Method desj/commun/infracentrale/persistance/ManufactureCachePersistance.obtenirInstanceDynamique:(Ldesj/commun/infra/ContexteInfra;)Ldesj/commun/infracentrale/persistance/CacheDeNavigation; 26: astore 6 28: aload_0 29: aload 4 31: aload_2 32: invokespecial #45; //Method detruireAnalyseFinanciere:(Ljava/lang/Long;Ldesj/commun/infra/ContexteInfra;)V 35: goto 53 38: astore 7 40: new #6; //class desj/commun/infracentrale/ejbbase/ControleurException 43: dup 44: aload 7 46: invokestatic #27; //Method desj/commun/appl/ClesMessagesCommunAppl.getERR_MAJEURE_TRAITEMENT:()Ljava/lang/String; 49: invokespecial #28; //Method desj/commun/infracentrale/ejbbase/ControleurException."<init>":(Ljava/lang/Exception;Ljava/lang/String;)V 52: athrow 53: return Exception table: from to target type 11 35 38 Class java/lang/Exception public void detruireAnalyseFinanciereIndividuelle(java.lang.String, java.lang.Long, desj.commun.infra.ContexteInfra) throws desj.commun.infracentrale.ejbbase.ControleurException; Code: 0: aconst_null 1: astore 4 3: aconst_null 4: astore 5 6: aconst_null 7: astore 6 9: aconst_null 10: astore 7 12: aload_1 13: ifnull 41 16: aload_2 17: ifnull 41 20: aload_2 21: aload_1 22: aload_3 23: invokestatic #29; //Method desj/fcdq/af/RequetePersistanceFcdqAF.chargerAnalyseFinanciere:(Ljava/lang/Long;Ljava/lang/String;Ldesj/commun/infra/ContexteInfra;)Ljava/lang/Long; 26: astore 4 28: aload_3 29: invokestatic #4; //Method desj/commun/infracentrale/persistance/ManufactureCachePersistance.obtenirInstanceDynamique:(Ldesj/commun/infra/ContexteInfra;)Ldesj/commun/infracentrale/persistance/CacheDeNavigation; 32: astore 7 34: aload_0 35: aload 4 37: aload_3 38: invokespecial #45; //Method detruireAnalyseFinanciere:(Ljava/lang/Long;Ldesj/commun/infra/ContexteInfra;)V 41: goto 59 44: astore 8 46: new #6; //class desj/commun/infracentrale/ejbbase/ControleurException 49: dup 50: aload 8 52: invokestatic #27; //Method desj/commun/appl/ClesMessagesCommunAppl.getERR_MAJEURE_TRAITEMENT:()Ljava/lang/String; 55: invokespecial #28; //Method desj/commun/infracentrale/ejbbase/ControleurException."<init>":(Ljava/lang/Exception;Ljava/lang/String;)V 58: athrow 59: return Exception table: from to target type 12 41 44 Class java/lang/Exception public void detruireAnalyseFinanciere(java.lang.String, java.util.Collection, desj.commun.infra.ContexteInfra) throws desj.commun.infracentrale.ejbbase.ControleurException; Code: 0: aconst_null 1: astore 4 3: aconst_null 4: astore 5 6: aconst_null 7: astore 6 9: aconst_null 10: astore 7 12: aload_1 13: ifnull 216 16: aload_2 17: ifnull 105 20: aload_2 21: invokeinterface #13, 1; //InterfaceMethod java/util/Collection.iterator:()Ljava/util/Iterator; 26: astore 8 28: aload 8 30: invokeinterface #14, 1; //InterfaceMethod java/util/Iterator.hasNext:()Z 35: ifeq 102 38: aload 8 40: invokeinterface #15, 1; //InterfaceMethod java/util/Iterator.next:()Ljava/lang/Object; 45: checkcast #47; //class java/lang/String 48: invokestatic #48; //Method java/lang/Long.valueOf:(Ljava/lang/String;)Ljava/lang/Long; 51: astore 9 53: aload 9 55: aload_1 56: aload_3 57: invokestatic #29; //Method desj/fcdq/af/RequetePersistanceFcdqAF.chargerAnalyseFinanciere:(Ljava/lang/Long;Ljava/lang/String;Ldesj/commun/infra/ContexteInfra;)Ljava/lang/Long; 60: astore 4 62: aload_3 63: invokestatic #4; //Method desj/commun/infracentrale/persistance/ManufactureCachePersistance.obtenirInstanceDynamique:(Ldesj/commun/infra/ContexteInfra;)Ldesj/commun/infracentrale/persistance/CacheDeNavigation; 66: astore 7 68: aload 7 70: invokevirtual #37; //Method desj/commun/infracentrale/persistance/CacheDeNavigation.begin:()V 73: aload_0 74: aload 4 76: aload 7 78: invokespecial #38; //Method detruireAnalyseFinanciere:(Ljava/lang/Long;Ldesj/commun/infracentrale/persistance/CacheDeNavigation;)V 81: aload 7 83: new #39; //class desj/commun/infracentrale/persistance/ContexteFonctionnel 86: dup 87: invokestatic #40; //Method desj/fcdq/af/ConstantesFcdqAf.getTYPE_AF_MAJ:()Ljava/lang/String; 90: invokestatic #41; //Method desj/fcdq/af/ConstantesFcdqAf.getSTYPE_ANALYSE:()Ljava/lang/String; 93: invokespecial #42; //Method desj/commun/infracentrale/persistance/ContexteFonctionnel."<init>":(Ljava/lang/String;Ljava/lang/String;)V 96: invokevirtual #43; //Method desj/commun/infracentrale/persistance/CacheDeNavigation.commitAndSync:(Ldesj/commun/infracentrale/persistance/ContexteFonctionnel;)V 99: goto 28 102: goto 216 105: aload_1 106: aload_3 107: invokestatic #46; //Method desj/fcdq/af/RequetePersistanceFcdqAF.chargerAnalysesFinancieres:(Ljava/lang/String;Ldesj/commun/infra/ContexteInfra;)Ljava/util/Collection; 110: astore 6 112: aload_3 113: invokestatic #4; //Method desj/commun/infracentrale/persistance/ManufactureCachePersistance.obtenirInstanceDynamique:(Ldesj/commun/infra/ContexteInfra;)Ldesj/commun/infracentrale/persistance/CacheDeNavigation; 116: astore 7 118: aload 7 120: invokevirtual #37; //Method desj/commun/infracentrale/persistance/CacheDeNavigation.begin:()V 123: aload 6 125: ifnull 185 128: aload 6 130: invokeinterface #49, 1; //InterfaceMethod java/util/Collection.isEmpty:()Z 135: ifne 185 138: aload 6 140: invokeinterface #13, 1; //InterfaceMethod java/util/Collection.iterator:()Ljava/util/Iterator; 145: astore 8 147: aload 8 149: ifnull 185 152: aload 8 154: invokeinterface #14, 1; //InterfaceMethod java/util/Iterator.hasNext:()Z 159: ifeq 185 162: aload 8 164: invokeinterface #15, 1; //InterfaceMethod java/util/Iterator.next:()Ljava/lang/Object; 169: checkcast #16; //class java/lang/Long 172: astore 4 174: aload_0 175: aload 4 177: aload 7 179: invokespecial #38; //Method detruireAnalyseFinanciere:(Ljava/lang/Long;Ldesj/commun/infracentrale/persistance/CacheDeNavigation;)V 182: goto 152 185: aload 7 187: new #39; //class desj/commun/infracentrale/persistance/ContexteFonctionnel 190: dup 191: invokestatic #40; //Method desj/fcdq/af/ConstantesFcdqAf.getTYPE_AF_MAJ:()Ljava/lang/String; 194: invokestatic #41; //Method desj/fcdq/af/ConstantesFcdqAf.getSTYPE_ANALYSE:()Ljava/lang/String; 197: invokespecial #42; //Method desj/commun/infracentrale/persistance/ContexteFonctionnel."<init>":(Ljava/lang/String;Ljava/lang/String;)V 200: invokevirtual #43; //Method desj/commun/infracentrale/persistance/CacheDeNavigation.commitAndSync:(Ldesj/commun/infracentrale/persistance/ContexteFonctionnel;)V 203: goto 216 206: astore 8 208: aload 7 210: invokevirtual #44; //Method desj/commun/infracentrale/persistance/CacheDeNavigation.rollback:()V 213: aload 8 215: athrow 216: goto 234 219: astore 8 221: new #6; //class desj/commun/infracentrale/ejbbase/ControleurException 224: dup 225: aload 8 227: invokestatic #27; //Method desj/commun/appl/ClesMessagesCommunAppl.getERR_MAJEURE_TRAITEMENT:()Ljava/lang/String; 230: invokespecial #28; //Method desj/commun/infracentrale/ejbbase/ControleurException."<init>":(Ljava/lang/Exception;Ljava/lang/String;)V 233: athrow 234: return Exception table: from to target type 112 203 206 Class java/lang/Exception 12 216 219 Class java/lang/Exception public void detruireAnalysesFinancieres(java.lang.String, desj.commun.infra.ContexteInfra) throws desj.commun.infracentrale.ejbbase.ControleurException; Code: 0: aconst_null 1: astore_3 2: aload_1 3: aload_2 4: invokestatic #46; //Method desj/fcdq/af/RequetePersistanceFcdqAF.chargerAnalysesFinancieres:(Ljava/lang/String;Ldesj/commun/infra/ContexteInfra;)Ljava/util/Collection; 7: astore 4 9: aload 4 11: ifnull 24 14: aload 4 16: invokeinterface #49, 1; //InterfaceMethod java/util/Collection.isEmpty:()Z 21: ifeq 25 24: return 25: aload_2 26: invokestatic #4; //Method desj/commun/infracentrale/persistance/ManufactureCachePersistance.obtenirInstanceDynamique:(Ldesj/commun/infra/ContexteInfra;)Ldesj/commun/infracentrale/persistance/CacheDeNavigation; 29: astore_3 30: aload_3 31: invokevirtual #37; //Method desj/commun/infracentrale/persistance/CacheDeNavigation.begin:()V 34: aload 4 36: invokeinterface #13, 1; //InterfaceMethod java/util/Collection.iterator:()Ljava/util/Iterator; 41: astore 5 43: aconst_null 44: astore 6 46: aload 5 48: invokeinterface #14, 1; //InterfaceMethod java/util/Iterator.hasNext:()Z 53: ifeq 78 56: aload 5 58: invokeinterface #15, 1; //InterfaceMethod java/util/Iterator.next:()Ljava/lang/Object; 63: checkcast #16; //class java/lang/Long 66: astore 6 68: aload_0 69: aload 6 71: aload_3 72: invokespecial #38; //Method detruireAnalyseFinanciere:(Ljava/lang/Long;Ldesj/commun/infracentrale/persistance/CacheDeNavigation;)V 75: goto 46 78: aload_3 79: new #39; //class desj/commun/infracentrale/persistance/ContexteFonctionnel 82: dup 83: invokestatic #40; //Method desj/fcdq/af/ConstantesFcdqAf.getTYPE_AF_MAJ:()Ljava/lang/String; 86: ldc #50; //String ANALYSR 88: invokespecial #42; //Method desj/commun/infracentrale/persistance/ContexteFonctionnel."<init>":(Ljava/lang/String;Ljava/lang/String;)V 91: invokevirtual #43; //Method desj/commun/infracentrale/persistance/CacheDeNavigation.commitAndSync:(Ldesj/commun/infracentrale/persistance/ContexteFonctionnel;)V 94: goto 138 97: astore 4 99: aload_2 100: aconst_null 101: aload 4 103: invokevirtual #51; //Method java/lang/Exception.getMessage:()Ljava/lang/String; 106: aconst_null 107: aload 4 109: aconst_null 110: invokestatic #52; //Method desj/commun/infra/log/AgentLog.envoyerErreur:(Ldesj/commun/infra/ContexteInfra;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Exception;Ljava/lang/Object;)Ljava/lang/String; 113: pop 114: aload_3 115: invokevirtual #44; //Method desj/commun/infracentrale/persistance/CacheDeNavigation.rollback:()V 118: aload 4 120: athrow 121: astore 5 123: aload_2 124: aconst_null 125: aload 5 127: invokevirtual #51; //Method java/lang/Exception.getMessage:()Ljava/lang/String; 130: aconst_null 131: aload 5 133: aconst_null 134: invokestatic #52; //Method desj/commun/infra/log/AgentLog.envoyerErreur:(Ldesj/commun/infra/ContexteInfra;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Exception;Ljava/lang/Object;)Ljava/lang/String; 137: pop 138: return Exception table: from to target type 2 24 97 Class java/lang/Exception 25 94 97 Class java/lang/Exception 114 121 121 Class java/lang/Exception public static java.lang.Boolean isAnalyseConsolideePresente(java.lang.String, desj.commun.infra.ContexteInfra) throws java.rmi.RemoteException, desj.commun.infracentrale.ejbbase.ControleurException; Code: 0: aconst_null 1: astore_2 2: aload_1 3: invokestatic #4; //Method desj/commun/infracentrale/persistance/ManufactureCachePersistance.obtenirInstanceDynamique:(Ldesj/commun/infra/ContexteInfra;)Ldesj/commun/infracentrale/persistance/CacheDeNavigation; 6: astore_3 7: aload_0 8: aload_1 9: invokestatic #5; //Method desj/fcdq/af/RequetePersistanceFcdqAF.chargerAnalyseFinanciereConsolidee:(Ljava/lang/String;Ldesj/commun/infra/ContexteInfra;)Ljava/lang/Long; 12: astore_2 13: goto 29 16: astore_3 17: new #6; //class desj/commun/infracentrale/ejbbase/ControleurException 20: dup 21: aload_3 22: invokestatic #27; //Method desj/commun/appl/ClesMessagesCommunAppl.getERR_MAJEURE_TRAITEMENT:()Ljava/lang/String; 25: invokespecial #28; //Method desj/commun/infracentrale/ejbbase/ControleurException."<init>":(Ljava/lang/Exception;Ljava/lang/String;)V 28: athrow 29: new #53; //class java/lang/Boolean 32: dup 33: aload_2 34: ifnull 41 37: iconst_1 38: goto 42 41: iconst_0 42: invokespecial #54; //Method java/lang/Boolean."<init>":(Z)V 45: areturn Exception table: from to target type 2 13 16 Class java/lang/Exception public static java.lang.Boolean isAnalyseIndividuellePresente(java.lang.String, java.lang.Long, desj.commun.infra.ContexteInfra) throws java.rmi.RemoteException, desj.commun.infracentrale.ejbbase.ControleurException; Code: 0: aconst_null 1: astore_3 2: aload_2 3: invokestatic #4; //Method desj/commun/infracentrale/persistance/ManufactureCachePersistance.obtenirInstanceDynamique:(Ldesj/commun/infra/ContexteInfra;)Ldesj/commun/infracentrale/persistance/CacheDeNavigation; 6: astore 4 8: aload_1 9: aload_0 10: aload_2 11: invokestatic #29; //Method desj/fcdq/af/RequetePersistanceFcdqAF.chargerAnalyseFinanciere:(Ljava/lang/Long;Ljava/lang/String;Ldesj/commun/infra/ContexteInfra;)Ljava/lang/Long; 14: astore_3 15: goto 33 18: astore 4 20: new #6; //class desj/commun/infracentrale/ejbbase/ControleurException 23: dup 24: aload 4 26: invokestatic #27; //Method desj/commun/appl/ClesMessagesCommunAppl.getERR_MAJEURE_TRAITEMENT:()Ljava/lang/String; 29: invokespecial #28; //Method desj/commun/infracentrale/ejbbase/ControleurException."<init>":(Ljava/lang/Exception;Ljava/lang/String;)V 32: athrow 33: new #53; //class java/lang/Boolean 36: dup 37: aload_3 38: ifnull 45 41: iconst_1 42: goto 46 45: iconst_0 46: invokespecial #54; //Method java/lang/Boolean."<init>":(Z)V 49: areturn Exception table: from to target type 2 15 18 Class java/lang/Exception public desj.commun.appl.type.Pourcentage obtenirABD(java.lang.String, java.lang.Long, boolean, desj.commun.infra.ContexteInfra) throws desj.commun.infracentrale.ejbbase.ControleurException; Code: 0: aconst_null 1: astore 5 3: aconst_null 4: astore 6 6: aload_0 7: aload_2 8: aload_1 9: aload 4 11: invokespecial #55; //Method obtenirAnalyseFinanciere:(Ljava/lang/Long;Ljava/lang/String;Ldesj/commun/infra/ContexteInfra;)Ldesj/fcdq/af/modele/AnalyseFinanciere; 14: astore 6 16: aload 6 18: ifnull 31 21: aload 6 23: iload_3 24: aload 4 26: invokevirtual #56; //Method desj/fcdq/af/modele/AnalyseFinanciere.ratioABD:(ZLdesj/commun/infra/ContexteInfra;)Ldesj/commun/appl/type/Pourcentage; 29: astore 5 31: aload 5 33: areturn 34: astore 7 36: new #6; //class desj/commun/infracentrale/ejbbase/ControleurException 39: dup 40: aload 7 42: invokestatic #27; //Method desj/commun/appl/ClesMessagesCommunAppl.getERR_MAJEURE_TRAITEMENT:()Ljava/lang/String; 45: invokespecial #28; //Method desj/commun/infracentrale/ejbbase/ControleurException."<init>":(Ljava/lang/Exception;Ljava/lang/String;)V 48: athrow Exception table: from to target type 6 33 34 Class java/lang/Exception public desj.commun.appl.type.Pourcentage obtenirATD(java.lang.String, java.lang.Long, boolean, desj.commun.infra.ContexteInfra) throws desj.commun.infracentrale.ejbbase.ControleurException; Code: 0: aconst_null 1: astore 5 3: aconst_null 4: astore 6 6: aload_0 7: aload_2 8: aload_1 9: aload 4 11: invokespecial #55; //Method obtenirAnalyseFinanciere:(Ljava/lang/Long;Ljava/lang/String;Ldesj/commun/infra/ContexteInfra;)Ldesj/fcdq/af/modele/AnalyseFinanciere; 14: astore 6 16: aload 6 18: ifnull 31 21: aload 6 23: iload_3 24: aload 4 26: invokevirtual #57; //Method desj/fcdq/af/modele/AnalyseFinanciere.ratioATD:(ZLdesj/commun/infra/ContexteInfra;)Ldesj/commun/appl/type/Pourcentage; 29: astore 5 31: aload 5 33: areturn 34: astore 7 36: new #6; //class desj/commun/infracentrale/ejbbase/ControleurException 39: dup 40: aload 7 42: invokestatic #27; //Method desj/commun/appl/ClesMessagesCommunAppl.getERR_MAJEURE_TRAITEMENT:()Ljava/lang/String; 45: invokespecial #28; //Method desj/commun/infracentrale/ejbbase/ControleurException."<init>":(Ljava/lang/Exception;Ljava/lang/String;)V 48: athrow Exception table: from to target type 6 33 34 Class java/lang/Exception public desj.commun.appl.type.Montant obtenirValeurNette(java.lang.String, java.lang.Long, desj.commun.infra.ContexteInfra) throws desj.commun.infracentrale.ejbbase.ControleurException; Code: 0: aconst_null 1: astore 4 3: aconst_null 4: astore 5 6: aconst_null 7: astore 6 9: aconst_null 10: astore 7 12: aconst_null 13: astore 8 15: aload_3 16: invokestatic #4; //Method desj/commun/infracentrale/persistance/ManufactureCachePersistance.obtenirInstanceDynamique:(Ldesj/commun/infra/ContexteInfra;)Ldesj/commun/infracentrale/persistance/CacheDeNavigation; 19: astore 8 21: aload_1 22: ifnull 111 25: aload_2 26: ifnull 72 29: aload_2 30: aload_1 31: aload_3 32: invokestatic #29; //Method desj/fcdq/af/RequetePersistanceFcdqAF.chargerAnalyseFinanciere:(Ljava/lang/Long;Ljava/lang/String;Ldesj/commun/infra/ContexteInfra;)Ljava/lang/Long; 35: astore 4 37: aload 4 39: ifnull 111 42: new #9; //class desj/fcdq/af/objetcle/CleUniqueAnalyseFinanciere 45: dup 46: aload 4 48: invokespecial #10; //Method desj/fcdq/af/objetcle/CleUniqueAnalyseFinanciere."<init>":(Ljava/lang/Long;)V 51: astore 5 53: aload 8 55: ldc_w #30; //class desj/fcdq/af/modele/AnalyseFinanciereIndividuelle 58: aload 5 60: iconst_0 61: invokevirtual #12; //Method desj/commun/infracentrale/persistance/CacheDeNavigation.obtenirOP:(Ljava/lang/Class;Ldesj/commun/infracentrale/persistance/ObjetCle;Z)Ldesj/commun/infracentrale/persistance/ObjetPersistant; 64: checkcast #11; //class desj/fcdq/af/modele/AnalyseFinanciere 67: astore 7 69: goto 111 72: aload_1 73: aload_3 74: invokestatic #5; //Method desj/fcdq/af/RequetePersistanceFcdqAF.chargerAnalyseFinanciereConsolidee:(Ljava/lang/String;Ldesj/commun/infra/ContexteInfra;)Ljava/lang/Long; 77: astore 4 79: aload 4 81: ifnull 111 84: new #9; //class desj/fcdq/af/objetcle/CleUniqueAnalyseFinanciere 87: dup 88: aload 4 90: invokespecial #10; //Method desj/fcdq/af/objetcle/CleUniqueAnalyseFinanciere."<init>":(Ljava/lang/Long;)V 93: astore 5 95: aload 8 97: ldc_w #19; //class desj/fcdq/af/modele/AnalyseFinanciereConsolidee 100: aload 5 102: iconst_0 103: invokevirtual #12; //Method desj/commun/infracentrale/persistance/CacheDeNavigation.obtenirOP:(Ljava/lang/Class;Ldesj/commun/infracentrale/persistance/ObjetCle;Z)Ldesj/commun/infracentrale/persistance/ObjetPersistant; 106: checkcast #11; //class desj/fcdq/af/modele/AnalyseFinanciere 109: astore 7 111: aload 7 113: ifnull 123 116: aload 7 118: invokevirtual #58; //Method desj/fcdq/af/modele/AnalyseFinanciere.valeurNette:()Ldesj/commun/appl/type/Montant; 121: astore 6 123: aload 6 125: areturn 126: astore 9 128: new #6; //class desj/commun/infracentrale/ejbbase/ControleurException 131: dup 132: aload 9 134: invokestatic #27; //Method desj/commun/appl/ClesMessagesCommunAppl.getERR_MAJEURE_TRAITEMENT:()Ljava/lang/String; 137: invokespecial #28; //Method desj/commun/infracentrale/ejbbase/ControleurException."<init>":(Ljava/lang/Exception;Ljava/lang/String;)V 140: athrow Exception table: from to target type 15 125 126 Class java/lang/Exception } Compiled from "ClesLibellesFcdqAdhreid.java" public class desj.fcdq.adhreid.ClesLibellesFcdqAdhreid extends java.lang.Object{ public desj.fcdq.adhreid.ClesLibellesFcdqAdhreid(); Code: 0: aload_0 1: invokespecial #1; //Method java/lang/Object."<init>":()V 4: return public static final java.lang.String getLBL_CONJOINT_COTISANT(); Code: 0: ldc #2; //String AR-0004 2: areturn public static final java.lang.String getLBL_JURIDICTION_FED(); Code: 0: ldc #3; //String AR-0002 2: areturn public static final java.lang.String getLBL_JURIDICTION_PROV(); Code: 0: ldc #4; //String AR-0003 2: areturn public static final java.lang.String getLBL_NOUVELLE_ADHESION(); Code: 0: ldc #5; //String AR-0001 2: areturn public static java.lang.String getLibelle(java.lang.String, desj.commun.infra.ContexteInfra, java.lang.String); Code: 0: aload_1 1: ifnonnull 14 4: new #6; //class java/lang/IllegalStateException 7: dup 8: ldc #7; //String contexteInfra n\'est pas initialisÚ 10: invokespecial #8; //Method java/lang/IllegalStateException."<init>":(Ljava/lang/String;)V 13: athrow 14: aload_1 15: invokestatic #9; //Method getNOM_FICHIER:()Ljava/lang/String; 18: aload_0 19: aload_2 20: invokestatic #10; //Method desj/commun/infra/message/AgentMessageFormat.getLibelle:(Ldesj/commun/infra/ContexteInfra;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; 23: areturn public static final java.lang.String getNOM_FICHIER(); Code: 0: ldc #11; //String ApplicativeFcdqAdhreid 2: areturn } '; preg_match_all($re, $str, $matches, PREG_SET_ORDER, 0); // Print the entire match result var_dump($matches);

Please keep in mind that these code samples are automatically generated and are not guaranteed to work. If you find any syntax errors, feel free to submit a bug report. For a full regex reference for PHP, please visit: http://php.net/manual/en/ref.pcre.php