Loading ...
Sorry, an error occurred while loading the content.
 

Re: New file uploaded to PCGenListFileHelp

Expand Messages
  • Tom Parker
    ... one of ... Look up Q and E in regex s e.g. $foo = +problem ; if ($bar =~ /$foo/) { } will break if (Gar =~ / Q$foo E/) { } will escape characters in
    Message 1 of 82 , May 1, 2008
      --- In PCGenListFileHelp@yahoogroups.com, "Barak" <barak@...> wrote:
      >
      > > -----Original Message-----
      > > The error is:
      > > Processing: aesrd_ogl_fantasy_feat.lst
      > > Quantifier follows nothing in regex; marked by <-- HERE in m/+ <--
      > > HERE 1 Caster level/ at convert_514.pl line 744.
      > >
      > > and it occurs when converting the CMP - Arcana Evolved special OGL SRD
      > > material.
      > >
      > > Any ideas?
      >
      > There's a CHOOSE tag with a "+1 Casterlevel" choice in it... the + is
      > screwing up the script as it searches to see if that expression is
      one of
      > the allowed CHOOSE subtags.

      Look up \Q and \E in regex's

      e.g. $foo = "+problem";

      if ($bar =~ /$foo/) {
      }

      will break

      if (Gar =~ /\Q$foo\E/) {
      }

      will escape characters in $foo and thus not see the starting + as a
      problem. Same goes for unmatched parens & grouping, etc.

      TP.
    • PCGenListFileHelp@yahoogroups.com
      Hello, This email message is a notification to let you know that a file has been uploaded to the Files area of the PCGenListFileHelp group. File :
      Message 82 of 82 , Mar 10
        Hello,


        This email message is a notification to let you know that
        a file has been uploaded to the Files area of the PCGenListFileHelp
        group.


        File : /Misc/pu_abilities_abp_class.lst
        Uploaded by : papa_drb <Papa.DRB@...>
        Description : Pathfinder Unchained: Automatic Bonus Progression


        You can access this file at the URL:
        https://groups.yahoo.com/neo/groups/PCGenListFileHelp/files/Misc/pu_abilities_abp_class.lst


        To learn more about file sharing for your group, please visit:
        https://help.yahoo.com/kb/index?page=content&y=PROD_GRPS&locale=en_US&id=SLN15398


        Regards,


        papa_drb <Papa.DRB@...>
      Your message has been successfully submitted and would be delivered to recipients shortly.