What is regex (lookup)? When you should use it?

Answer Posted / rajat singh

In a regex lookup operation, each record in the lookup file must contain a regular expression in the format described in “Regular expressions in DML functions”. The regex key specifier of a regex lookup file identifies the record field to interpret as a regular expression.
A lookup function such as lookup (file_label , expression) tests the value of its second argument against the regular expression field in each record of the lookup file, until the function finds a match.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a partition?

712


Why might the optimizer use a table scan when an index is available?

1806


What will be the skew for, input file->partition by key-> partition by round robin->output file

416


Have you used the rollup component? Describe how?

630


Tell us about the architecture of abinitio.

644






How do you add default rules in transformer?

734


What is abinitio?

676


Describe how you would ensure that database object definitions (tables, indices, constraints, triggers, users, logins, connection options, and server options etc)are consistent and repeatable between multiple database instances (i.e.: A test and production copy of a database)?

650


i have a scenario where i need to change the value of a sort order in my sort component whether ascending or descending depend on some input value... e.g if input_val = A then sort order should be ascending else descending I have to use PDL in this... Can you please tell me where do i have to make this change and how ?

1612


Explain what does dependency analysis mean in abinitio?

558


Describe the evaluation of parameters order in ab initio?

954


What are the fundamental blocks of co> operating system of ab initio?

720


What do you understand by overflow errors?

619


Describe the grant/revoke ddl facility and how it is implemented?

691


What are the different types of parallelism in ab initio?

720