西班牙
斯潘4
戴尔,很好,谢谢。今天早上我试用了2016测试版,新的regex引擎非常棒。我们什么时候可以拿到2016年,这样可以节省很多时间来处理这些银行文件?附加的屏幕转储我完成的工作流程。亚搏在线我还得到了一个在检查器中生成的错误——每条记录的模式是空白的,只有当你点击记录时,它的属性才会出现在细节面板中。
认为詹姆斯
FME 2016将于2016年1月中旬发布,但正如Takashi所发现的那样——我们的老正则表达式处理器不管怎样都成功了,所以你不需要它。
…just while I think about it....it would be useful if you had the option to populate the Test String box in the regex dialogue with a sample of the text from the attribute being searched.否则,您必须手动导航到正在处理的文件,打开它,然后执行剪切和粘贴操作。不是什么大事,但可以节省一点时间。
导入fmeobjects导入reclass SplitString(object): def _init__(self): self。split_expression = re.compile('[ ](?=[0-9]{31})') def close(self): input_file = FME_MacroValues['INPUT_FILE'] with open(input_file) as f: lines = f.readlines() for line in lines: records = self.split_expression.split(line) for record in records: feature = fmeobjects.FMEFeature() feature.setAttribute('banking_record', record.strip()) self.pyoutput(feature)
你好,
第一眼,我可以做到它与stringReplacer,但结果我可以看到在检查器,但不能在记事本(复制和粘贴的内容将在记事本)。
?2019安全亚搏在线软件公司|合法的